#[repr(C)]pub struct StackInfo {
pub stack_top: usize,
pub stack_bottom: usize,
}
Expand description
The coroutine stack information.
Fields§
§stack_top: usize
The base address of the stack. This is the highest address since stacks grow downwards on most modern architectures.
stack_bottom: usize
The maximum limit address of the stack. This is the lowest address since stacks grow downwards on most modern architectures.
Trait Implementations§
Source§impl Ord for StackInfo
impl Ord for StackInfo
Source§impl PartialOrd for StackInfo
impl PartialOrd for StackInfo
impl Copy for StackInfo
impl Eq 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 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