Struct deploy_temp_fringe::OwnedStack [−][src]
pub struct OwnedStack(_);
OwnedStack holds a non-guarded, heap-allocated stack.
Methods
impl OwnedStack
[src]
impl OwnedStack
pub fn new(size: usize) -> OwnedStack
[src]
pub 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 Debug for OwnedStack
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Stack for OwnedStack
[src]
impl Stack for OwnedStack
fn base(&self) -> *mut u8
[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
[src]
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
Auto Trait Implementations
impl Send for OwnedStack
impl Send for OwnedStack
impl Sync for OwnedStack
impl Sync for OwnedStack