#[repr(C, align(4096))]pub struct Stack<const NUM_PAGES: usize>(/* private fields */);Expand description
A stack for some CPU core.
This is used by the entry! macro to reserve space for the boot stack.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const NUM_PAGES: usize> Freeze for Stack<NUM_PAGES>
impl<const NUM_PAGES: usize> RefUnwindSafe for Stack<NUM_PAGES>
impl<const NUM_PAGES: usize> Send for Stack<NUM_PAGES>
impl<const NUM_PAGES: usize> Sync for Stack<NUM_PAGES>
impl<const NUM_PAGES: usize> Unpin for Stack<NUM_PAGES>
impl<const NUM_PAGES: usize> UnwindSafe for Stack<NUM_PAGES>
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