#[repr(C)]pub struct JSPropertySpec_SelfHostedWrapper {
pub unused: Option<unsafe extern "C" fn(*mut JSContext, u32, *mut Value) -> bool>,
pub funname: *const i8,
}Fields§
§unused: Option<unsafe extern "C" fn(*mut JSContext, u32, *mut Value) -> bool>§funname: *const i8Trait Implementations§
Source§impl Clone for JSPropertySpec_SelfHostedWrapper
impl Clone for JSPropertySpec_SelfHostedWrapper
Source§fn clone(&self) -> JSPropertySpec_SelfHostedWrapper
fn clone(&self) -> JSPropertySpec_SelfHostedWrapper
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 PartialEq for JSPropertySpec_SelfHostedWrapper
impl PartialEq for JSPropertySpec_SelfHostedWrapper
Source§fn eq(&self, other: &JSPropertySpec_SelfHostedWrapper) -> bool
fn eq(&self, other: &JSPropertySpec_SelfHostedWrapper) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for JSPropertySpec_SelfHostedWrapper
impl StructuralPartialEq for JSPropertySpec_SelfHostedWrapper
Auto Trait Implementations§
impl Freeze for JSPropertySpec_SelfHostedWrapper
impl RefUnwindSafe for JSPropertySpec_SelfHostedWrapper
impl !Send for JSPropertySpec_SelfHostedWrapper
impl !Sync for JSPropertySpec_SelfHostedWrapper
impl Unpin for JSPropertySpec_SelfHostedWrapper
impl UnsafeUnpin for JSPropertySpec_SelfHostedWrapper
impl UnwindSafe for JSPropertySpec_SelfHostedWrapper
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