Union v8::ExternalReference
source · pub union ExternalReference<'s> {
pub function: FunctionCallback,
pub getter: AccessorNameGetterCallback<'s>,
pub message: MessageCallback,
pub pointer: *mut c_void,
}
Fields§
§function:FunctionCallback
§
getter:AccessorNameGetterCallback<'s>
§
message:MessageCallback
§
pointer:*mut c_void
Trait Implementations§
source§impl<'s> Clone for ExternalReference<'s>
impl<'s> Clone for ExternalReference<'s>
source§fn clone(&self) -> ExternalReference<'s>
fn clone(&self) -> ExternalReference<'s>
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<'s> Copy for ExternalReference<'s>
Auto Trait Implementations§
impl<'s> RefUnwindSafe for ExternalReference<'s>
impl<'s> !Send for ExternalReference<'s>
impl<'s> !Sync for ExternalReference<'s>
impl<'s> Unpin for ExternalReference<'s>
impl<'s> UnwindSafe for ExternalReference<'s>
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