Struct v8::PropertyHandlerFlags
source · #[repr(C)]pub struct PropertyHandlerFlags(/* private fields */);
Implementations§
source§impl PropertyHandlerFlags
impl PropertyHandlerFlags
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_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 BitOr for PropertyHandlerFlags
impl BitOr for PropertyHandlerFlags
source§impl Debug for PropertyHandlerFlags
impl Debug for PropertyHandlerFlags
source§impl Default for PropertyHandlerFlags
impl Default for PropertyHandlerFlags
source§impl PartialEq for PropertyHandlerFlags
impl PartialEq for PropertyHandlerFlags
impl Eq for PropertyHandlerFlags
impl StructuralPartialEq for PropertyHandlerFlags
Auto Trait Implementations§
impl Freeze for PropertyHandlerFlags
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