#[repr(transparent)]pub struct Opsize(pub u16);
Tuple Fields§
§0: u16
Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)