pub struct VarLong(pub i64);Tuple Fields§
§0: i64Trait Implementations§
Source§impl PacketReadable for VarLong
impl PacketReadable for VarLong
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 VarLong
impl PacketWritable for VarLong
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 VarLong
impl USizePossible for VarLong
fn into_usize(self) -> usize
fn from_usize(value: usize) -> Self
impl Copy 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