#[repr(C)]pub struct Struct_R_allocator {
pub mem_alloc: custom_alloc_t,
pub mem_free: custom_free_t,
pub res: *mut c_void,
pub data: *mut c_void,
}
Fields§
§mem_alloc: custom_alloc_t
§mem_free: custom_free_t
§res: *mut c_void
§data: *mut c_void
Trait Implementations§
Source§impl Clone for Struct_R_allocator
impl Clone for Struct_R_allocator
Source§impl Default for Struct_R_allocator
impl Default for Struct_R_allocator
impl Copy for Struct_R_allocator
Auto Trait Implementations§
impl Freeze for Struct_R_allocator
impl RefUnwindSafe for Struct_R_allocator
impl !Send for Struct_R_allocator
impl !Sync for Struct_R_allocator
impl Unpin for Struct_R_allocator
impl UnwindSafe for Struct_R_allocator
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