pub struct TaskLocalCell<T>(/* private fields */);Expand description
A cell for static storage in single-task cFS apps.
Provides &mut T access without runtime overhead. Only
sound when the static is accessed by a single cFS task.
Implementations§
Source§impl<T> TaskLocalCell<T>
impl<T> TaskLocalCell<T>
Trait Implementations§
impl<T> Sync for TaskLocalCell<T>
Auto Trait Implementations§
impl<T> !Freeze for TaskLocalCell<T>
impl<T> !RefUnwindSafe for TaskLocalCell<T>
impl<T> Send for TaskLocalCell<T>where
T: Send,
impl<T> Unpin for TaskLocalCell<T>where
T: Unpin,
impl<T> UnsafeUnpin for TaskLocalCell<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for TaskLocalCell<T>where
T: UnwindSafe,
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