Struct Opsize
#[repr(transparent)]pub struct Opsize(pub u16);
Tuple Fields§
§0: u16
Implementations§
§impl Opsize
impl Opsize
pub const OPSIZE2048: Opsize = _
pub const OPSIZE2048: Opsize = _
2048 bytes.
pub const OPSIZE3072: Opsize = _
pub const OPSIZE3072: Opsize = _
3072 bytes.
pub const OPSIZE4096: Opsize = _
pub const OPSIZE4096: Opsize = _
4096 bytes.
Trait Implementations§
§impl Ord for Opsize
impl Ord for Opsize
§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
)