Trait fringe::Stack
[−]
[src]
pub trait Stack { fn base(&self) -> *mut u8; fn limit(&self) -> *mut u8; }
A trait for objects that hold ownership of a stack.
Required Methods
fn base(&self) -> *mut u8
Returns the base of the stack. On all modern architectures, the stack grows downwards, so this is the highest address.
fn limit(&self) -> *mut u8
Returns the bottom of the stack. On all modern architectures, the stack grows downwards, so this is the lowest address.
Implementors
impl<'a> Stack for SliceStack<'a>
impl Stack for OwnedStack