#[repr(C)]pub struct st_dynamic_MEM_fns {
pub malloc_fn: Option<unsafe extern "C" fn(_: usize, _: *const i8, _: i32) -> *mut c_void>,
pub realloc_fn: Option<unsafe extern "C" fn(_: *mut c_void, _: usize, _: *const i8, _: i32) -> *mut c_void>,
pub free_fn: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: i32)>,
}
Fields§
§malloc_fn: Option<unsafe extern "C" fn(_: usize, _: *const i8, _: i32) -> *mut c_void>
§realloc_fn: Option<unsafe extern "C" fn(_: *mut c_void, _: usize, _: *const i8, _: i32) -> *mut c_void>
§free_fn: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: i32)>
Trait Implementations§
Source§impl Clone for st_dynamic_MEM_fns
impl Clone for st_dynamic_MEM_fns
Source§fn clone(&self) -> st_dynamic_MEM_fns
fn clone(&self) -> st_dynamic_MEM_fns
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 moreSource§impl Debug for st_dynamic_MEM_fns
impl Debug for st_dynamic_MEM_fns
impl Copy for st_dynamic_MEM_fns
Auto Trait Implementations§
impl Freeze for st_dynamic_MEM_fns
impl RefUnwindSafe for st_dynamic_MEM_fns
impl Send for st_dynamic_MEM_fns
impl Sync for st_dynamic_MEM_fns
impl Unpin for st_dynamic_MEM_fns
impl UnwindSafe for st_dynamic_MEM_fns
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