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