pub struct DataDescriptor<V> {
pub value: V,
pub writable: bool,
pub enumerable: bool,
pub configurable: bool,
}Expand description
A stored data-property descriptor.
Fields§
§value: VStored value.
writable: boolWhether assignment may replace the stored value.
enumerable: boolWhether enumeration policy may expose the property.
configurable: boolWhether the property may be deleted or incompatibly redefined.
Trait Implementations§
Source§impl<V: Clone> Clone for DataDescriptor<V>
impl<V: Clone> Clone for DataDescriptor<V>
Source§fn clone(&self) -> DataDescriptor<V>
fn clone(&self) -> DataDescriptor<V>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<V: Debug> Debug for DataDescriptor<V>
impl<V: Debug> Debug for DataDescriptor<V>
impl<V: Eq> Eq for DataDescriptor<V>
Source§impl<V: PartialEq> PartialEq for DataDescriptor<V>
impl<V: PartialEq> PartialEq for DataDescriptor<V>
impl<V: PartialEq> StructuralPartialEq for DataDescriptor<V>
Auto Trait Implementations§
impl<V> Freeze for DataDescriptor<V>where
V: Freeze,
impl<V> RefUnwindSafe for DataDescriptor<V>where
V: RefUnwindSafe,
impl<V> Send for DataDescriptor<V>where
V: Send,
impl<V> Sync for DataDescriptor<V>where
V: Sync,
impl<V> Unpin for DataDescriptor<V>where
V: Unpin,
impl<V> UnsafeUnpin for DataDescriptor<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for DataDescriptor<V>where
V: UnwindSafe,
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