pub enum CompleteOrdinaryPropertyDescriptor {
Data {
value: Value,
writable: bool,
enumerable: bool,
configurable: bool,
},
Accessor {
get: Option<CallableRef>,
set: Option<CallableRef>,
enumerable: bool,
configurable: bool,
},
}Expand description
A complete own property, as [[GetOwnProperty]] reports it.
Variants§
Implementations§
Source§impl CompleteOrdinaryPropertyDescriptor
impl CompleteOrdinaryPropertyDescriptor
pub fn try_clone(&self) -> Result<Self, RuntimeError>
pub const fn enumerable(&self) -> bool
pub const fn configurable(&self) -> bool
Trait Implementations§
impl StructuralPartialEq for CompleteOrdinaryPropertyDescriptor
Auto Trait Implementations§
impl !RefUnwindSafe for CompleteOrdinaryPropertyDescriptor
impl !Send for CompleteOrdinaryPropertyDescriptor
impl !Sync for CompleteOrdinaryPropertyDescriptor
impl !UnwindSafe for CompleteOrdinaryPropertyDescriptor
impl Freeze for CompleteOrdinaryPropertyDescriptor
impl Unpin for CompleteOrdinaryPropertyDescriptor
impl UnsafeUnpin for CompleteOrdinaryPropertyDescriptor
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