Enum WrapSize
#[repr(u8)]pub enum WrapSize {
NotSupported = 0,
_RESERVED_1 = 1,
Bytes16 = 2,
Bytes32 = 3,
Bytes64 = 4,
Bytes128 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Expand description
Wrap size
Variants§
NotSupported = 0
Wrapped reads are not supported by the memory
_RESERVED_1 = 1
Bytes16 = 2
External memory supports wrap size of 16 bytes
Bytes32 = 3
External memory supports wrap size of 32 bytes
Bytes64 = 4
External memory supports wrap size of 64 bytes
Bytes128 = 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