#[repr(C)]pub struct tm_allocator_i {
pub inst: *mut tm_allocator_o,
pub mem_scope: u32,
pub _padding_15: [i8; 4],
pub realloc: Option<unsafe extern "C" fn(*mut tm_allocator_i, *mut c_void, u64, u64, *const i8, u32) -> *mut c_void>,
}
Fields§
§inst: *mut tm_allocator_o
§mem_scope: u32
§_padding_15: [i8; 4]
§realloc: Option<unsafe extern "C" fn(*mut tm_allocator_i, *mut c_void, u64, u64, *const i8, u32) -> *mut c_void>
Trait Implementations§
Source§impl Clone for tm_allocator_i
impl Clone for tm_allocator_i
Source§fn clone(&self) -> tm_allocator_i
fn clone(&self) -> tm_allocator_i
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 moreimpl Copy for tm_allocator_i
Auto Trait Implementations§
impl Freeze for tm_allocator_i
impl RefUnwindSafe for tm_allocator_i
impl !Send for tm_allocator_i
impl !Sync for tm_allocator_i
impl Unpin for tm_allocator_i
impl UnwindSafe for tm_allocator_i
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