pub struct NonMaxI32VarInt(pub NonMaxI32);Tuple Fields§
§0: NonMaxI32Implementations§
Trait Implementations§
Source§impl Clone for NonMaxI32VarInt
impl Clone for NonMaxI32VarInt
Source§fn clone(&self) -> NonMaxI32VarInt
fn clone(&self) -> NonMaxI32VarInt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NonMaxI32VarInt
Source§impl Debug for NonMaxI32VarInt
impl Debug for NonMaxI32VarInt
Source§impl Default for NonMaxI32VarInt
impl Default for NonMaxI32VarInt
Source§fn default() -> NonMaxI32VarInt
fn default() -> NonMaxI32VarInt
Returns the “default value” for a type. Read more
Source§impl Deref for NonMaxI32VarInt
impl Deref for NonMaxI32VarInt
Source§impl DerefMut for NonMaxI32VarInt
impl DerefMut for NonMaxI32VarInt
Source§impl Display for NonMaxI32VarInt
impl Display for NonMaxI32VarInt
Source§impl EncodeVarInt for NonMaxI32VarInt
impl EncodeVarInt for NonMaxI32VarInt
fn encode_var_int<F: FnOnce(&[u8]) -> R, R>(&self, write: F) -> R
impl Eq for NonMaxI32VarInt
Source§impl From<NonMaxI32VarInt> for NonMaxI32
impl From<NonMaxI32VarInt> for NonMaxI32
Source§fn from(value: NonMaxI32VarInt) -> Self
fn from(value: NonMaxI32VarInt) -> Self
Converts to this type from the input type.
Source§impl<T: AsPrimitive<i32>> From<T> for NonMaxI32VarInt
impl<T: AsPrimitive<i32>> From<T> for NonMaxI32VarInt
Source§impl Ord for NonMaxI32VarInt
impl Ord for NonMaxI32VarInt
Source§fn cmp(&self, other: &NonMaxI32VarInt) -> Ordering
fn cmp(&self, other: &NonMaxI32VarInt) -> Ordering
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
Source§impl PartialEq for NonMaxI32VarInt
impl PartialEq for NonMaxI32VarInt
Source§impl PartialOrd for NonMaxI32VarInt
impl PartialOrd for NonMaxI32VarInt
Source§impl Serialize for NonMaxI32VarInt
Available on crate feature serde only.
impl Serialize for NonMaxI32VarInt
Available on crate feature
serde only.impl StructuralPartialEq for NonMaxI32VarInt
Auto Trait Implementations§
impl Freeze for NonMaxI32VarInt
impl RefUnwindSafe for NonMaxI32VarInt
impl Send for NonMaxI32VarInt
impl Sync for NonMaxI32VarInt
impl Unpin for NonMaxI32VarInt
impl UnsafeUnpin for NonMaxI32VarInt
impl UnwindSafe for NonMaxI32VarInt
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