Struct boa::property::PropertyDescriptor [−][src]
pub struct PropertyDescriptor { /* fields omitted */ }Expand description
This represents a JavaScript Property AKA The Property Descriptor.
Property descriptors present in objects come in three main flavors:
- data descriptors
- accessor descriptors
- generic descriptor
A data Property Descriptor is one that includes any fields named either [[Value]] or [[Writable]].
An accessor Property Descriptor is one that includes any fields named either [[Get]] or [[Set]].
A generic Property Descriptor is a Property Descriptor value that is neither a data Property Descriptor nor an accessor Property Descriptor.
More information:
Implementations
An accessor Property Descriptor is one that includes any fields named either [[Get]] or [[Set]].
More information:
A data Property Descriptor is one that includes any fields named either [[Value]] or [[Writable]].
More information:
A generic Property Descriptor is one that is neither a data descriptor nor an accessor descriptor.
More information:
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Runs Finalize::finalize() on this object and all contained subobjects Read more
Auto Trait Implementations
impl !RefUnwindSafe for PropertyDescriptor
impl !Send for PropertyDescriptor
impl !Sync for PropertyDescriptor
impl Unpin for PropertyDescriptor
impl !UnwindSafe for PropertyDescriptor
Blanket Implementations
Mutably borrows from an owned value. Read more