Struct v8_sys::v8_AllocatorFunctions
[−]
[src]
#[repr(C)]pub struct v8_AllocatorFunctions { pub Allocate: Option<unsafe extern fn(length: usize) -> *mut c_void>, pub AllocateUninitialized: Option<unsafe extern fn(length: usize) -> *mut c_void>, pub Free: Option<unsafe extern fn(data: *mut c_void, length: usize)>, }
Fields
Allocate: Option<unsafe extern fn(length: usize) -> *mut c_void>
AllocateUninitialized: Option<unsafe extern fn(length: usize) -> *mut c_void>
Free: Option<unsafe extern fn(data: *mut c_void, length: usize)>
Trait Implementations
impl Debug for v8_AllocatorFunctions
[src]
impl Copy for v8_AllocatorFunctions
[src]
impl Clone for v8_AllocatorFunctions
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more