[][src]Struct skyline::nn::mem::StandardAllocator

#[repr(C)]pub struct StandardAllocator {
    pub mIsInitialized: bool,
    pub mIsEnabledThreadCache: bool,
    pub _2: u16,
    pub mAllocAddr: *mut u64,
}

Fields

mIsInitialized: boolmIsEnabledThreadCache: bool_2: u16mAllocAddr: *mut u64

Methods

impl StandardAllocator[src]

pub unsafe fn Initialize(&mut self, address: *mut c_void, size: u64)[src]

pub unsafe fn Finalize(&mut self)[src]

pub unsafe fn Reallocate(
    &mut self,
    address: *mut c_void,
    newSize: u64
) -> *mut c_void
[src]

pub unsafe fn Allocate(&mut self, size: u64) -> *mut c_void[src]

pub unsafe fn Free(&mut self, address: *mut c_void)[src]

pub unsafe fn Dump(&mut self)[src]

pub unsafe fn new() -> StandardAllocator[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.