Union mozjs_sys::jsapi::JSPropertySpec_Accessor
source · #[repr(C)]
pub union JSPropertySpec_Accessor {
pub native: JSNativeWrapper,
pub selfHosted: JSPropertySpec_SelfHostedWrapper,
}
Fields§
§native: JSNativeWrapper
§selfHosted: JSPropertySpec_SelfHostedWrapper
Trait Implementations§
source§impl Clone for JSPropertySpec_Accessor
impl Clone for JSPropertySpec_Accessor
source§fn clone(&self) -> JSPropertySpec_Accessor
fn clone(&self) -> JSPropertySpec_Accessor
Returns a copy 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_Accessor
Auto Trait Implementations§
impl RefUnwindSafe for JSPropertySpec_Accessor
impl !Send for JSPropertySpec_Accessor
impl !Sync for JSPropertySpec_Accessor
impl Unpin for JSPropertySpec_Accessor
impl UnwindSafe for JSPropertySpec_Accessor
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