#[repr(C)]pub struct duk_memory_functions {
pub alloc_func: duk_alloc_function,
pub realloc_func: duk_realloc_function,
pub free_func: duk_free_function,
pub udata: *mut c_void,
}Fields§
§alloc_func: duk_alloc_function§realloc_func: duk_realloc_function§free_func: duk_free_function§udata: *mut c_voidTrait Implementations§
Source§impl Clone for duk_memory_functions
impl Clone for duk_memory_functions
Source§fn clone(&self) -> duk_memory_functions
fn clone(&self) -> duk_memory_functions
Returns a duplicate 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 moreSource§impl Debug for duk_memory_functions
impl Debug for duk_memory_functions
impl Copy for duk_memory_functions
Auto Trait Implementations§
impl Freeze for duk_memory_functions
impl RefUnwindSafe for duk_memory_functions
impl !Send for duk_memory_functions
impl !Sync for duk_memory_functions
impl Unpin for duk_memory_functions
impl UnwindSafe for duk_memory_functions
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