pub struct StackHunk<System>(_)
where
System: KernelStatic<System>;Expand description
Specifies the Hunk to use as a task’s stack when included in the task’s
property Bag.
A kernel might choose to ignore this if StackHunk is not supported.
If a StackHunk is given, the stack size (TaskDefiner::stack_size) must
be specified explicitly.
Implementations
sourceimpl<System> StackHunk<System>where
System: KernelStatic<System>,
impl<System> StackHunk<System>where
System: KernelStatic<System>,
Trait Implementations
sourceimpl<System> Clone for StackHunk<System>where
System: KernelStatic<System>,
impl<System> Clone for StackHunk<System>where
System: KernelStatic<System>,
impl<System> Copy for StackHunk<System>where
System: KernelStatic<System>,
Auto Trait Implementations
impl<System> RefUnwindSafe for StackHunk<System>where
System: RefUnwindSafe,
impl<System> Send for StackHunk<System>where
System: Send,
impl<System> Sync for StackHunk<System>where
System: Sync,
impl<System> Unpin for StackHunk<System>where
System: Unpin,
impl<System> UnwindSafe for StackHunk<System>where
System: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more