Struct v8::value::Boolean
[−]
[src]
pub struct Boolean(_, _);
A primitive boolean value (ECMA-262, 4.3.14). Either the true or false value.
Methods
impl Boolean
[src]
fn new(isolate: &Isolate, value: bool) -> Boolean
fn value(&self) -> bool
unsafe fn from_raw(isolate: &Isolate, raw: BooleanRef) -> Boolean
Creates a boolean from a set of raw pointers.
fn as_raw(&self) -> BooleanRef
Returns the underlying raw pointer behind this boolean.
Methods from Deref<Target=Primitive>
fn as_raw(&self) -> PrimitiveRef
Returns the underlying raw pointer behind this primitive.
Trait Implementations
impl Debug for Boolean
[src]
impl Deref for Boolean
[src]
type Target = Primitive
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value
impl Clone for Boolean
[src]
fn clone(&self) -> Boolean
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more