Struct v8::AccessorSignature
source · #[repr(C)]pub struct AccessorSignature(_);
Expand description
An AccessorSignature specifies which receivers are valid parameters to an accessor callback.
Methods from Deref<Target = Data>§
sourcepub fn is_big_int(&self) -> bool
pub fn is_big_int(&self) -> bool
Returns true if this data is a BigInt
.
sourcepub fn is_boolean(&self) -> bool
pub fn is_boolean(&self) -> bool
Returns true if this data is a Boolean
.
sourcepub fn is_context(&self) -> bool
pub fn is_context(&self) -> bool
Returns true if this data is a Context
.
sourcepub fn is_fixed_array(&self) -> bool
pub fn is_fixed_array(&self) -> bool
Returns true if this data is a FixedArray
.
sourcepub fn is_function_template(&self) -> bool
pub fn is_function_template(&self) -> bool
Returns true if this data is a FunctionTemplate
.
sourcepub fn is_module_request(&self) -> bool
pub fn is_module_request(&self) -> bool
Returns true if this data is a ModuleRequest
.
sourcepub fn is_object_template(&self) -> bool
pub fn is_object_template(&self) -> bool
Returns true if this data is a ObjectTemplate
.
sourcepub fn is_primitive(&self) -> bool
pub fn is_primitive(&self) -> bool
Returns true if this data is a Primitive
.
sourcepub fn is_private(&self) -> bool
pub fn is_private(&self) -> bool
Returns true if this data is a Private
.
Trait Implementations§
source§impl Debug for AccessorSignature
impl Debug for AccessorSignature
source§impl Deref for AccessorSignature
impl Deref for AccessorSignature
source§impl<'s> PartialEq<AccessorSignature> for AccessorSignature
impl<'s> PartialEq<AccessorSignature> for AccessorSignature
source§fn eq(&self, other: &AccessorSignature) -> bool
fn eq(&self, other: &AccessorSignature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'s> PartialEq<AccessorSignature> for Data
impl<'s> PartialEq<AccessorSignature> for Data
source§fn eq(&self, other: &AccessorSignature) -> bool
fn eq(&self, other: &AccessorSignature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'s> PartialEq<Data> for AccessorSignature
impl<'s> PartialEq<Data> for AccessorSignature
impl Eq for AccessorSignature
Auto Trait Implementations§
impl RefUnwindSafe for AccessorSignature
impl Send for AccessorSignature
impl Sync for AccessorSignature
impl Unpin for AccessorSignature
impl UnwindSafe for AccessorSignature
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more