Enum Wrapsize
#[repr(u8)]pub enum Wrapsize {
B0x0 = 0,
_RESERVED_1 = 1,
B0x2 = 2,
B0x3 = 3,
B0x4 = 4,
B0x5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
B0x0 = 0
wrapped reads are not supported by the memory.
_RESERVED_1 = 1
B0x2 = 2
external memory supports wrap size of 16 bytes.
B0x3 = 3
external memory supports wrap size of 32 bytes.
B0x4 = 4
external memory supports wrap size of 64 bytes.
B0x5 = 5
external memory supports wrap size of 128 bytes.
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
impl Copy for Wrapsize
impl Eq for Wrapsize
§impl Ord for Wrapsize
impl Ord for Wrapsize
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Wrapsize
impl PartialOrd for Wrapsize
impl StructuralPartialEq for Wrapsize
Auto Trait Implementations§
impl Freeze for Wrapsize
impl RefUnwindSafe for Wrapsize
impl Send for Wrapsize
impl Sync for Wrapsize
impl Unpin for Wrapsize
impl UnsafeUnpin for Wrapsize
impl UnwindSafe for Wrapsize
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