#[repr(C)]pub struct TempAllocatorI {
pub inst: *mut TempAllocatorO,
pub realloc: Option<unsafe extern "C" fn(inst: *mut TempAllocatorO, ptr: *mut c_void, old_size: u64, new_size: u64) -> *mut c_void>,
}Fields§
§inst: *mut TempAllocatorO§realloc: Option<unsafe extern "C" fn(inst: *mut TempAllocatorO, ptr: *mut c_void, old_size: u64, new_size: u64) -> *mut c_void>Trait Implementations§
Source§impl Clone for TempAllocatorI
impl Clone for TempAllocatorI
Source§fn clone(&self) -> TempAllocatorI
fn clone(&self) -> TempAllocatorI
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 Default for TempAllocatorI
impl Default for TempAllocatorI
impl Copy for TempAllocatorI
Auto Trait Implementations§
impl Freeze for TempAllocatorI
impl RefUnwindSafe for TempAllocatorI
impl !Send for TempAllocatorI
impl !Sync for TempAllocatorI
impl Unpin for TempAllocatorI
impl UnwindSafe for TempAllocatorI
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