#[repr(C)]pub struct JSSharedArrayBufferFunctions {
pub sab_alloc: Option<unsafe extern "C" fn(opaque: *mut c_void, size: size_t) -> *mut c_void>,
pub sab_free: Option<unsafe extern "C" fn(opaque: *mut c_void, ptr: *mut c_void)>,
pub sab_dup: Option<unsafe extern "C" fn(opaque: *mut c_void, ptr: *mut c_void)>,
pub sab_opaque: *mut c_void,
}
Fields
sab_alloc: Option<unsafe extern "C" fn(opaque: *mut c_void, size: size_t) -> *mut c_void>
sab_free: Option<unsafe extern "C" fn(opaque: *mut c_void, ptr: *mut c_void)>
sab_dup: Option<unsafe extern "C" fn(opaque: *mut c_void, ptr: *mut c_void)>
sab_opaque: *mut c_void
Trait Implementations
sourcefn clone(&self) -> JSSharedArrayBufferFunctions
fn clone(&self) -> JSSharedArrayBufferFunctions
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
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more