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
sourceimpl<'s> Clone for ExternalReference<'s>
impl<'s> Clone for ExternalReference<'s>
sourcefn clone(&self) -> ExternalReference<'s>
fn clone(&self) -> ExternalReference<'s>
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 more
impl<'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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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