pub struct VarLong(pub i64);
Tuple Fields§
§0: i64
Trait Implementations§
Source§impl Deserialize for VarLong
impl Deserialize for VarLong
fn mc_deserialize(orig_data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl Ord for VarLong
impl Ord for VarLong
Source§impl PartialOrd for VarLong
impl PartialOrd for VarLong
Source§impl Serialize for VarLong
impl Serialize for VarLong
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl Copy for VarLong
impl Eq for VarLong
impl StructuralPartialEq for VarLong
Auto Trait Implementations§
impl Freeze for VarLong
impl RefUnwindSafe for VarLong
impl Send for VarLong
impl Sync for VarLong
impl Unpin for VarLong
impl UnwindSafe for VarLong
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