pub struct Word(/* private fields */);Expand description
Abstract representation of a word in flash.
This type is kept abstract to avoid possible confusion with Nat if they happen to have the
same representation. This is because they have different semantics, Nat represents natural
numbers while Word represents sequences of bits (and thus has no arithmetic).
Implementations§
Trait Implementations§
impl Copy for Word
impl Eq for Word
impl StructuralPartialEq for Word
Auto Trait Implementations§
impl Freeze for Word
impl RefUnwindSafe for Word
impl Send for Word
impl Sync for Word
impl Unpin for Word
impl UnsafeUnpin for Word
impl UnwindSafe for Word
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