#[repr(C)]pub union JSPropertySpec_AccessorsOrValue {
pub accessors: JSPropertySpec_AccessorsOrValue_Accessors,
pub value: JSPropertySpec_ValueWrapper,
}Fields§
§accessors: JSPropertySpec_AccessorsOrValue_Accessors§value: JSPropertySpec_ValueWrapperTrait Implementations§
Source§impl Clone for JSPropertySpec_AccessorsOrValue
impl Clone for JSPropertySpec_AccessorsOrValue
Source§fn clone(&self) -> JSPropertySpec_AccessorsOrValue
fn clone(&self) -> JSPropertySpec_AccessorsOrValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for JSPropertySpec_AccessorsOrValue
Auto Trait Implementations§
impl Freeze for JSPropertySpec_AccessorsOrValue
impl RefUnwindSafe for JSPropertySpec_AccessorsOrValue
impl !Send for JSPropertySpec_AccessorsOrValue
impl !Sync for JSPropertySpec_AccessorsOrValue
impl Unpin for JSPropertySpec_AccessorsOrValue
impl UnwindSafe for JSPropertySpec_AccessorsOrValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes