Struct bird_protocol::packet_types::VarInt
source · [−]pub struct VarInt;
Trait Implementations
sourceimpl<'a> PacketVariantReadable<'a, i32> for VarInt
impl<'a> PacketVariantReadable<'a, i32> for VarInt
fn read_variant<R>(read: &mut R) -> Result<i32, PacketReadableError> where
R: PacketRead<'a>,
sourceimpl PacketVariantWritable<i32> for VarInt
impl PacketVariantWritable<i32> for VarInt
fn write_variant<W>(object: &i32, write: &mut W) -> Result<(), Error> where
W: PacketWrite,
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more