#[repr(transparent)]pub struct Opsize(pub u16);Tuple Fields§
§0: u16Implementations§
Source§impl Opsize
impl Opsize
Sourcepub const OPSIZE2048: Self
pub const OPSIZE2048: Self
2048 bytes.
Sourcepub const OPSIZE3072: Self
pub const OPSIZE3072: Self
3072 bytes.
Sourcepub const OPSIZE4096: Self
pub const OPSIZE4096: Self
4096 bytes.
Trait Implementations§
Source§impl Ord for Opsize
impl Ord for Opsize
Source§impl PartialOrd for Opsize
impl PartialOrd for Opsize
impl Copy for Opsize
impl Eq for Opsize
impl StructuralPartialEq for Opsize
Auto Trait Implementations§
impl Freeze for Opsize
impl RefUnwindSafe for Opsize
impl Send for Opsize
impl Sync for Opsize
impl Unpin for Opsize
impl UnwindSafe for Opsize
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