pub struct EncodeMinimizeInt<N>(pub N);
Expand description
encode minimum byte size
Tuple Fields§
§0: N
Trait Implementations§
Source§impl<N: Clone> Clone for EncodeMinimizeInt<N>
impl<N: Clone> Clone for EncodeMinimizeInt<N>
Source§fn clone(&self) -> EncodeMinimizeInt<N>
fn clone(&self) -> EncodeMinimizeInt<N>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<N: Debug> Debug for EncodeMinimizeInt<N>
impl<N: Debug> Debug for EncodeMinimizeInt<N>
Source§impl<W, N> Encode<W> for EncodeMinimizeInt<N>where
W: IoWrite,
N: ToPrimitive,
impl<W, N> Encode<W> for EncodeMinimizeInt<N>where
W: IoWrite,
N: ToPrimitive,
Source§impl<N: Ord> Ord for EncodeMinimizeInt<N>
impl<N: Ord> Ord for EncodeMinimizeInt<N>
Source§fn cmp(&self, other: &EncodeMinimizeInt<N>) -> Ordering
fn cmp(&self, other: &EncodeMinimizeInt<N>) -> Ordering
1.21.0 · 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
Source§impl<N: PartialEq> PartialEq for EncodeMinimizeInt<N>
impl<N: PartialEq> PartialEq for EncodeMinimizeInt<N>
Source§impl<N: PartialOrd> PartialOrd for EncodeMinimizeInt<N>
impl<N: PartialOrd> PartialOrd for EncodeMinimizeInt<N>
impl<N: Copy> Copy for EncodeMinimizeInt<N>
impl<N: Eq> Eq for EncodeMinimizeInt<N>
impl<N> StructuralPartialEq for EncodeMinimizeInt<N>
Auto Trait Implementations§
impl<N> Freeze for EncodeMinimizeInt<N>where
N: Freeze,
impl<N> RefUnwindSafe for EncodeMinimizeInt<N>where
N: RefUnwindSafe,
impl<N> Send for EncodeMinimizeInt<N>where
N: Send,
impl<N> Sync for EncodeMinimizeInt<N>where
N: Sync,
impl<N> Unpin for EncodeMinimizeInt<N>where
N: Unpin,
impl<N> UnwindSafe for EncodeMinimizeInt<N>where
N: UnwindSafe,
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