pub struct VarInt(pub i32);Tuple Fields§
§0: i32Trait Implementations§
Source§impl PacketReadable for VarInt
impl PacketReadable for VarInt
fn read<'life0, 'async_trait>(
input: &'life0 mut (impl 'async_trait + InputPacketBytes),
) -> Pin<Box<dyn Future<Output = PacketReadableResult<Self>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl PacketWritable for VarInt
impl PacketWritable for VarInt
fn write<'life0, 'async_trait>(
self,
output: &'life0 mut (impl 'async_trait + OutputPacketBytes),
) -> Pin<Box<dyn Future<Output = PacketWritableResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl USizePossible for VarInt
impl USizePossible for VarInt
fn into_usize(self) -> usize
fn from_usize(value: usize) -> Self
impl Copy for VarInt
Auto Trait Implementations§
impl Freeze for VarInt
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