[−][src]Struct r3::kernel::StackHunk
Hunk
for a task stack.
Implementations
impl<System> StackHunk<System>
[src]
pub const unsafe fn from_hunk(hunk: Hunk<System>, len: usize) -> Self
[src]
Construct a StackHunk
from Hunk
.
Safety
The caller is responsible for making sure the region represented by
hunk
is solely used for a single task's stack.
Also, hunk
must be properly aligned for a stack region.
pub fn into_inner(self) -> (Hunk<System>, usize)
[src]
Get the inner Hunk
and the length, consuming self
.
impl<System: Kernel> StackHunk<System>
[src]
Trait Implementations
impl<System> Clone for StackHunk<System>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<System> Copy for StackHunk<System>
[src]
impl<System: Kernel> Debug for StackHunk<System>
[src]
impl<System> Init for StackHunk<System>
[src]
impl<System> Sync for StackHunk<System>
[src]
Auto Trait Implementations
impl<System> Send for StackHunk<System> where
System: Send,
System: Send,
impl<System> Unpin for StackHunk<System> where
System: Unpin,
System: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,