pub struct PropertyFlags(/* private fields */);Implementations§
Source§impl PropertyFlags
impl PropertyFlags
pub const WRITABLE: u8
pub const ENUMERABLE: u8
pub const CONFIGURABLE: u8
pub const ACCESSOR: u8
Sourcepub const DEFAULT: PropertyFlags
pub const DEFAULT: PropertyFlags
Writable, enumerable, configurable data property.
pub const fn data(writable: bool, enumerable: bool, configurable: bool) -> Self
pub const fn accessor(enumerable: bool, configurable: bool) -> Self
pub const fn bits(self) -> u8
pub const fn has(self, flag: u8) -> bool
Trait Implementations§
Source§impl Clone for PropertyFlags
impl Clone for PropertyFlags
impl Copy for PropertyFlags
Source§impl Debug for PropertyFlags
impl Debug for PropertyFlags
impl Eq for PropertyFlags
Source§impl Hash for PropertyFlags
impl Hash for PropertyFlags
Source§impl PartialEq for PropertyFlags
impl PartialEq for PropertyFlags
impl StructuralPartialEq for PropertyFlags
Auto Trait Implementations§
impl Freeze for PropertyFlags
impl RefUnwindSafe for PropertyFlags
impl Send for PropertyFlags
impl Sync for PropertyFlags
impl Unpin for PropertyFlags
impl UnsafeUnpin for PropertyFlags
impl UnwindSafe for PropertyFlags
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