pub struct PropertyFilter(/* private fields */);Implementations§
Source§impl PropertyFilter
impl PropertyFilter
pub const ALL_PROPERTIES: PropertyFilter
pub const ONLY_WRITABLE: PropertyFilter
pub const ONLY_ENUMERABLE: PropertyFilter
pub const ONLY_CONFIGURABLE: PropertyFilter
pub const SKIP_STRINGS: PropertyFilter
pub const SKIP_SYMBOLS: PropertyFilter
Sourcepub fn is_all_properties(&self) -> bool
pub fn is_all_properties(&self) -> bool
Test if all property filters are set.
Sourcepub fn is_only_writable(&self) -> bool
pub fn is_only_writable(&self) -> bool
Test if the only-writable property filter is set.
Sourcepub fn is_only_enumerable(&self) -> bool
pub fn is_only_enumerable(&self) -> bool
Test if the only-enumerable property filter is set.
Sourcepub fn is_only_configurable(&self) -> bool
pub fn is_only_configurable(&self) -> bool
Test if the only-configurable property filter is set.
Sourcepub fn is_skip_strings(&self) -> bool
pub fn is_skip_strings(&self) -> bool
Test if the skip-strings property filter is set.
Sourcepub fn is_skip_symbols(&self) -> bool
pub fn is_skip_symbols(&self) -> bool
Test if the skip-symbols property filter is set.
Trait Implementations§
Source§impl BitOr for PropertyFilter
impl BitOr for PropertyFilter
Source§impl Clone for PropertyFilter
impl Clone for PropertyFilter
Source§fn clone(&self) -> PropertyFilter
fn clone(&self) -> PropertyFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PropertyFilter
impl Debug for PropertyFilter
Source§impl Default for PropertyFilter
impl Default for PropertyFilter
Source§impl PartialEq for PropertyFilter
impl PartialEq for PropertyFilter
impl Copy for PropertyFilter
impl Eq for PropertyFilter
impl StructuralPartialEq for PropertyFilter
Auto Trait Implementations§
impl Freeze for PropertyFilter
impl RefUnwindSafe for PropertyFilter
impl Send for PropertyFilter
impl Sync for PropertyFilter
impl Unpin for PropertyFilter
impl UnwindSafe for PropertyFilter
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