pub struct HramAtomicCell<T>(/* private fields */)
where
T: CellValue;Expand description
Storage for a one-byte cell, accessed without a CriticalSection.
Declare it with hram!; the accessors live on the handle that macro
generates, not on this type. A wider type is a compile error.
Implementations§
Source§impl<T> HramAtomicCell<T>where
T: CellValue,
impl<T> HramAtomicCell<T>where
T: CellValue,
Trait Implementations§
impl<T> Sync for HramAtomicCell<T>where
T: CellValue,
Auto Trait Implementations§
impl<T> !Freeze for HramAtomicCell<T>
impl<T> !RefUnwindSafe for HramAtomicCell<T>
impl<T> BankSafe for HramAtomicCell<T>
impl<T> Send for HramAtomicCell<T>where
T: Send,
impl<T> Unpin for HramAtomicCell<T>where
T: Unpin,
impl<T> UnsafeUnpin for HramAtomicCell<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for HramAtomicCell<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