#[repr(C)]pub struct StackCallAllocEx {
pub memsize: usize,
pub stacksize: usize,
}Fields§
§memsize: usize§stacksize: usizeImplementations§
Source§impl StackCallAllocEx
impl StackCallAllocEx
pub fn scan(&self) -> i32
pub fn get_memory_info(&self) -> Result<MemoryInfo, Box<dyn Error>>
Trait Implementations§
Source§impl GlobalAlloc for StackCallAllocEx
impl GlobalAlloc for StackCallAllocEx
Source§unsafe fn alloc(&self, layout: Layout) -> *mut u8
unsafe fn alloc(&self, layout: Layout) -> *mut u8
Allocates memory as described by the given
layout. Read moreimpl Sync for StackCallAllocEx
Auto Trait Implementations§
impl Freeze for StackCallAllocEx
impl RefUnwindSafe for StackCallAllocEx
impl Send for StackCallAllocEx
impl Unpin for StackCallAllocEx
impl UnsafeUnpin for StackCallAllocEx
impl UnwindSafe for StackCallAllocEx
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