pub struct VarInt(pub i32);
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl ArrayCounter for VarInt
impl ArrayCounter for VarInt
Source§impl Deserialize for VarInt
impl Deserialize for VarInt
fn mc_deserialize(orig_data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<BlockParticleData> for VarInt
impl From<BlockParticleData> for VarInt
Source§fn from(other: BlockParticleData) -> Self
fn from(other: BlockParticleData) -> Self
Converts to this type from the input type.
Source§impl From<BlockParticleData> for VarInt
impl From<BlockParticleData> for VarInt
Source§fn from(other: BlockParticleData) -> Self
fn from(other: BlockParticleData) -> Self
Converts to this type from the input type.
Source§impl From<LoginSetCompressionSpec> for VarInt
impl From<LoginSetCompressionSpec> for VarInt
Source§fn from(other: LoginSetCompressionSpec) -> Self
fn from(other: LoginSetCompressionSpec) -> Self
Converts to this type from the input type.
Source§impl From<LoginSetCompressionSpec> for VarInt
impl From<LoginSetCompressionSpec> for VarInt
Source§fn from(other: LoginSetCompressionSpec) -> Self
fn from(other: LoginSetCompressionSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayCameraSpec> for VarInt
impl From<PlayCameraSpec> for VarInt
Source§fn from(other: PlayCameraSpec) -> Self
fn from(other: PlayCameraSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayCameraSpec> for VarInt
impl From<PlayCameraSpec> for VarInt
Source§fn from(other: PlayCameraSpec) -> Self
fn from(other: PlayCameraSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayEntityMovementSpec> for VarInt
impl From<PlayEntityMovementSpec> for VarInt
Source§fn from(other: PlayEntityMovementSpec) -> Self
fn from(other: PlayEntityMovementSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayEntityMovementSpec> for VarInt
impl From<PlayEntityMovementSpec> for VarInt
Source§fn from(other: PlayEntityMovementSpec) -> Self
fn from(other: PlayEntityMovementSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayPickItemSpec> for VarInt
impl From<PlayPickItemSpec> for VarInt
Source§fn from(other: PlayPickItemSpec) -> Self
fn from(other: PlayPickItemSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayPickItemSpec> for VarInt
impl From<PlayPickItemSpec> for VarInt
Source§fn from(other: PlayPickItemSpec) -> Self
fn from(other: PlayPickItemSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlaySelectTradeSpec> for VarInt
impl From<PlaySelectTradeSpec> for VarInt
Source§fn from(other: PlaySelectTradeSpec) -> Self
fn from(other: PlaySelectTradeSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlaySelectTradeSpec> for VarInt
impl From<PlaySelectTradeSpec> for VarInt
Source§fn from(other: PlaySelectTradeSpec) -> Self
fn from(other: PlaySelectTradeSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayTeleportConfirmSpec> for VarInt
impl From<PlayTeleportConfirmSpec> for VarInt
Source§fn from(other: PlayTeleportConfirmSpec) -> Self
fn from(other: PlayTeleportConfirmSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayTeleportConfirmSpec> for VarInt
impl From<PlayTeleportConfirmSpec> for VarInt
Source§fn from(other: PlayTeleportConfirmSpec) -> Self
fn from(other: PlayTeleportConfirmSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayUpdateViewDistanceSpec> for VarInt
impl From<PlayUpdateViewDistanceSpec> for VarInt
Source§fn from(other: PlayUpdateViewDistanceSpec) -> Self
fn from(other: PlayUpdateViewDistanceSpec) -> Self
Converts to this type from the input type.
Source§impl From<PlayUpdateViewDistanceSpec> for VarInt
impl From<PlayUpdateViewDistanceSpec> for VarInt
Source§fn from(other: PlayUpdateViewDistanceSpec) -> Self
fn from(other: PlayUpdateViewDistanceSpec) -> Self
Converts to this type from the input type.
Source§impl From<VarInt> for BlockParticleData
impl From<VarInt> for BlockParticleData
Source§impl From<VarInt> for BlockParticleData
impl From<VarInt> for BlockParticleData
Source§impl From<VarInt> for LoginSetCompressionSpec
impl From<VarInt> for LoginSetCompressionSpec
Source§impl From<VarInt> for LoginSetCompressionSpec
impl From<VarInt> for LoginSetCompressionSpec
Source§impl From<VarInt> for PlayCameraSpec
impl From<VarInt> for PlayCameraSpec
Source§impl From<VarInt> for PlayCameraSpec
impl From<VarInt> for PlayCameraSpec
Source§impl From<VarInt> for PlayEntityMovementSpec
impl From<VarInt> for PlayEntityMovementSpec
Source§impl From<VarInt> for PlayEntityMovementSpec
impl From<VarInt> for PlayEntityMovementSpec
Source§impl From<VarInt> for PlayPickItemSpec
impl From<VarInt> for PlayPickItemSpec
Source§impl From<VarInt> for PlayPickItemSpec
impl From<VarInt> for PlayPickItemSpec
Source§impl From<VarInt> for PlaySelectTradeSpec
impl From<VarInt> for PlaySelectTradeSpec
Source§impl From<VarInt> for PlaySelectTradeSpec
impl From<VarInt> for PlaySelectTradeSpec
Source§impl From<VarInt> for PlayTeleportConfirmSpec
impl From<VarInt> for PlayTeleportConfirmSpec
Source§impl From<VarInt> for PlayTeleportConfirmSpec
impl From<VarInt> for PlayTeleportConfirmSpec
Source§impl From<VarInt> for PlayUpdateViewDistanceSpec
impl From<VarInt> for PlayUpdateViewDistanceSpec
Source§impl From<VarInt> for PlayUpdateViewDistanceSpec
impl From<VarInt> for PlayUpdateViewDistanceSpec
Source§impl From<VarInt> for WorldBorderWarningBlocksSpec
impl From<VarInt> for WorldBorderWarningBlocksSpec
Source§impl From<VarInt> for WorldBorderWarningBlocksSpec
impl From<VarInt> for WorldBorderWarningBlocksSpec
Source§impl From<VarInt> for WorldBorderWarningTimeSpec
impl From<VarInt> for WorldBorderWarningTimeSpec
Source§impl From<VarInt> for WorldBorderWarningTimeSpec
impl From<VarInt> for WorldBorderWarningTimeSpec
Source§impl From<WorldBorderWarningBlocksSpec> for VarInt
impl From<WorldBorderWarningBlocksSpec> for VarInt
Source§fn from(other: WorldBorderWarningBlocksSpec) -> Self
fn from(other: WorldBorderWarningBlocksSpec) -> Self
Converts to this type from the input type.
Source§impl From<WorldBorderWarningBlocksSpec> for VarInt
impl From<WorldBorderWarningBlocksSpec> for VarInt
Source§fn from(other: WorldBorderWarningBlocksSpec) -> Self
fn from(other: WorldBorderWarningBlocksSpec) -> Self
Converts to this type from the input type.
Source§impl From<WorldBorderWarningTimeSpec> for VarInt
impl From<WorldBorderWarningTimeSpec> for VarInt
Source§fn from(other: WorldBorderWarningTimeSpec) -> Self
fn from(other: WorldBorderWarningTimeSpec) -> Self
Converts to this type from the input type.
Source§impl From<WorldBorderWarningTimeSpec> for VarInt
impl From<WorldBorderWarningTimeSpec> for VarInt
Source§fn from(other: WorldBorderWarningTimeSpec) -> Self
fn from(other: WorldBorderWarningTimeSpec) -> Self
Converts to this type from the input type.
Source§impl Ord for VarInt
impl Ord for VarInt
Source§impl PartialOrd for VarInt
impl PartialOrd for VarInt
Source§impl Serialize for VarInt
impl Serialize for VarInt
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl Copy for VarInt
impl Eq for VarInt
impl StructuralPartialEq 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