#[repr(C)]pub struct StandardAllocator {
pub mIsInitialized: bool,
pub mIsEnabledThreadCache: bool,
pub _2: u16,
pub mAllocAddr: *mut u64,
}
Fields
mIsInitialized: bool
mIsEnabledThreadCache: bool
_2: u16
mAllocAddr: *mut u64
Implementations
sourceimpl StandardAllocator
impl StandardAllocator
pub unsafe fn Initialize(&mut self, address: *mut c_void, size: u64)
pub unsafe fn Finalize(&mut self)
pub unsafe fn Reallocate(
&mut self,
address: *mut c_void,
newSize: u64
) -> *mut c_void
pub unsafe fn Allocate(&mut self, size: u64) -> *mut c_void
pub unsafe fn Free(&mut self, address: *mut c_void)
pub unsafe fn Dump(&mut self)
pub unsafe fn new() -> StandardAllocator
Auto Trait Implementations
impl RefUnwindSafe for StandardAllocator
impl !Send for StandardAllocator
impl !Sync for StandardAllocator
impl Unpin for StandardAllocator
impl UnwindSafe for StandardAllocator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more