#[repr(transparent)]pub struct StateByteLen(pub usize);Expand description
Encoded state-file byte length returned by StateFile::save.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for StateByteLen
impl Clone for StateByteLen
impl Copy for StateByteLen
Source§impl Debug for StateByteLen
impl Debug for StateByteLen
Source§impl Default for StateByteLen
impl Default for StateByteLen
impl Eq for StateByteLen
Source§impl Ord for StateByteLen
impl Ord for StateByteLen
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StateByteLen
impl PartialEq for StateByteLen
Source§impl PartialOrd for StateByteLen
impl PartialOrd for StateByteLen
impl StructuralPartialEq for StateByteLen
Auto Trait Implementations§
impl Forget for StateByteLen
impl Freeze for StateByteLen
impl Move for StateByteLen
impl RefUnwindSafe for StateByteLen
impl Send for StateByteLen
impl Sync for StateByteLen
impl Unpin for StateByteLen
impl UnsafeUnpin for StateByteLen
impl UnwindSafe for StateByteLen
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