#[repr(C, align(16))]pub struct Stack<const SIZE: usize>(pub [u8; SIZE]);Expand description
Statically-sized, correctly-aligned stack storage for a preemptive task.
Tuple Fields§
§0: [u8; SIZE]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const SIZE: usize> Freeze for Stack<SIZE>
impl<const SIZE: usize> RefUnwindSafe for Stack<SIZE>
impl<const SIZE: usize> Send for Stack<SIZE>
impl<const SIZE: usize> Sync for Stack<SIZE>
impl<const SIZE: usize> Unpin for Stack<SIZE>
impl<const SIZE: usize> UnsafeUnpin for Stack<SIZE>
impl<const SIZE: usize> UnwindSafe for Stack<SIZE>
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