#[repr(C)]pub struct StackInfo {
pub stack_top: usize,
pub stack_bottom: usize,
}Expand description
The coroutine stack information.
Fields§
§stack_top: usizeThe base address of the stack. This is the highest address since stacks grow downwards on most modern architectures.
stack_bottom: usizeThe maximum limit address of the stack. This is the lowest address since stacks grow downwards on most modern architectures.
Trait Implementations§
impl Copy for StackInfo
impl Eq for StackInfo
Source§impl Ord for StackInfo
impl Ord for StackInfo
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for StackInfo
impl PartialOrd for StackInfo
impl StructuralPartialEq for StackInfo
Auto Trait Implementations§
impl Freeze for StackInfo
impl RefUnwindSafe for StackInfo
impl Send for StackInfo
impl Sync for StackInfo
impl Unpin for StackInfo
impl UnsafeUnpin for StackInfo
impl UnwindSafe for StackInfo
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