pub struct OrdinaryPropertyDescriptor {
pub value: DescriptorField<Value>,
pub writable: DescriptorField<bool>,
pub get: DescriptorField<AccessorValue>,
pub set: DescriptorField<AccessorValue>,
pub enumerable: DescriptorField<bool>,
pub configurable: DescriptorField<bool>,
}Expand description
A property descriptor for [[DefineOwnProperty]], possibly partial.
Fields§
§value: DescriptorField<Value>§writable: DescriptorField<bool>§get: DescriptorField<AccessorValue>§set: DescriptorField<AccessorValue>§enumerable: DescriptorField<bool>§configurable: DescriptorField<bool>Implementations§
Trait Implementations§
Source§impl Clone for OrdinaryPropertyDescriptor
impl Clone for OrdinaryPropertyDescriptor
Source§impl Debug for OrdinaryPropertyDescriptor
impl Debug for OrdinaryPropertyDescriptor
Source§impl Default for OrdinaryPropertyDescriptor
impl Default for OrdinaryPropertyDescriptor
impl StructuralPartialEq for OrdinaryPropertyDescriptor
Auto Trait Implementations§
impl !RefUnwindSafe for OrdinaryPropertyDescriptor
impl !Send for OrdinaryPropertyDescriptor
impl !Sync for OrdinaryPropertyDescriptor
impl !UnwindSafe for OrdinaryPropertyDescriptor
impl Freeze for OrdinaryPropertyDescriptor
impl Unpin for OrdinaryPropertyDescriptor
impl UnsafeUnpin for OrdinaryPropertyDescriptor
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