Struct v8::PropertyHandlerFlags
source · #[repr(C)]pub struct PropertyHandlerFlags(_);
Implementations§
source§impl PropertyHandlerFlags
impl PropertyHandlerFlags
sourcepub const ALL_CAN_READ: Self = _
pub const ALL_CAN_READ: Self = _
See ALL_CAN_READ above.
sourcepub const NON_MASKING: Self = _
pub const NON_MASKING: Self = _
Will not call into interceptor for properties on the receiver or prototype chain, i.e., only call into interceptor for properties that do not exist. Currently only valid for named interceptors.
sourcepub const ONLY_INTERCEPT_STRINGS: Self = _
pub const ONLY_INTERCEPT_STRINGS: Self = _
Will not call into interceptor for symbol lookup. Only meaningful for named interceptors.
sourcepub const HAS_NO_SIDE_EFFECT: Self = _
pub const HAS_NO_SIDE_EFFECT: Self = _
The getter, query, enumerator callbacks do not produce side effects.
sourcepub fn is_all_can_read(&self) -> bool
pub fn is_all_can_read(&self) -> bool
Test if the all-can-read property handler flag is set.
sourcepub fn is_non_masking(&self) -> bool
pub fn is_non_masking(&self) -> bool
Test if the non-masking property handler flag is set.
sourcepub fn is_only_intercept_strings(&self) -> bool
pub fn is_only_intercept_strings(&self) -> bool
Test if the only-intercept-strings property handler flag is set.
sourcepub fn is_has_no_side_effect(&self) -> bool
pub fn is_has_no_side_effect(&self) -> bool
Test if the has-no-side-effect property handler flag is set.
Trait Implementations§
source§impl Debug for PropertyHandlerFlags
impl Debug for PropertyHandlerFlags
source§impl Default for PropertyHandlerFlags
impl Default for PropertyHandlerFlags
source§impl PartialEq<PropertyHandlerFlags> for PropertyHandlerFlags
impl PartialEq<PropertyHandlerFlags> for PropertyHandlerFlags
source§fn eq(&self, other: &PropertyHandlerFlags) -> bool
fn eq(&self, other: &PropertyHandlerFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PropertyHandlerFlags
impl StructuralEq for PropertyHandlerFlags
impl StructuralPartialEq for PropertyHandlerFlags
Auto Trait Implementations§
impl RefUnwindSafe for PropertyHandlerFlags
impl Send for PropertyHandlerFlags
impl Sync for PropertyHandlerFlags
impl Unpin for PropertyHandlerFlags
impl UnwindSafe for PropertyHandlerFlags
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