#[repr(C)]pub struct MemAllocOption__bindgen_ty_2 {
pub malloc_func: *mut c_void,
pub realloc_func: *mut c_void,
pub free_func: *mut c_void,
pub user_data: *mut c_void,
}
Fields§
§malloc_func: *mut c_void
§realloc_func: *mut c_void
§free_func: *mut c_void
§user_data: *mut c_void
Trait Implementations§
Source§impl Clone for MemAllocOption__bindgen_ty_2
impl Clone for MemAllocOption__bindgen_ty_2
Source§fn clone(&self) -> MemAllocOption__bindgen_ty_2
fn clone(&self) -> MemAllocOption__bindgen_ty_2
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 MemAllocOption__bindgen_ty_2
impl Debug for MemAllocOption__bindgen_ty_2
impl Copy for MemAllocOption__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for MemAllocOption__bindgen_ty_2
impl RefUnwindSafe for MemAllocOption__bindgen_ty_2
impl !Send for MemAllocOption__bindgen_ty_2
impl !Sync for MemAllocOption__bindgen_ty_2
impl Unpin for MemAllocOption__bindgen_ty_2
impl UnwindSafe for MemAllocOption__bindgen_ty_2
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