Struct fringe::OwnedStack
[−]
[src]
pub struct OwnedStack(_);
OwnedStack holds a non-guarded, heap-allocated stack.
Methods
impl OwnedStack
[src]
fn new(size: usize) -> OwnedStack
Allocates a new stack with exactly size
accessible bytes and alignment appropriate
for the current platform using the default Rust allocator.
Trait Implementations
impl Debug for OwnedStack
[src]
impl Stack for OwnedStack
[src]
fn base(&self) -> *mut u8
Returns the base address of the stack. On all modern architectures, the stack grows downwards, so this is the highest address. Read more
fn limit(&self) -> *mut u8
Returns the limit address of the stack. On all modern architectures, the stack grows downwards, so this is the lowest address. Read more