Enum boa::property::DescriptorKind
source · [−]pub enum DescriptorKind {
Data {
value: Option<JsValue>,
writable: Option<bool>,
},
Accessor {
get: Option<JsValue>,
set: Option<JsValue>,
},
Generic,
}
Variants
Data
Accessor
Generic
Trait Implementations
sourceimpl Clone for DescriptorKind
impl Clone for DescriptorKind
sourcefn clone(&self) -> DescriptorKind
fn clone(&self) -> DescriptorKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DescriptorKind
impl Debug for DescriptorKind
sourceimpl Default for DescriptorKind
impl Default for DescriptorKind
sourceimpl Drop for DescriptorKind
impl Drop for DescriptorKind
sourceimpl Finalize for DescriptorKind
impl Finalize for DescriptorKind
sourceimpl Trace for DescriptorKind
impl Trace for DescriptorKind
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
Auto Trait Implementations
impl !RefUnwindSafe for DescriptorKind
impl !Send for DescriptorKind
impl !Sync for DescriptorKind
impl Unpin for DescriptorKind
impl !UnwindSafe for DescriptorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more