Struct swarm_bot_packets::types::VarInt
source · pub struct VarInt(pub i32);
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
source§impl ByteReadable for VarInt
impl ByteReadable for VarInt
fn read_from_bytes(byte_reader: &mut ByteReader) -> Self
source§impl ByteWritable for VarInt
impl ByteWritable for VarInt
fn write_to_bytes(self, writer: &mut ByteWriter)
impl Copy for VarInt
Auto Trait Implementations§
impl RefUnwindSafe for VarInt
impl Send for VarInt
impl Sync for VarInt
impl Unpin for VarInt
impl UnwindSafe for VarInt
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