pub struct PlayUpdateViewDistanceSpec {
pub view_distance: VarInt,
}
Fields§
§view_distance: VarInt
Trait Implementations§
Source§impl Clone for PlayUpdateViewDistanceSpec
impl Clone for PlayUpdateViewDistanceSpec
Source§fn clone(&self) -> PlayUpdateViewDistanceSpec
fn clone(&self) -> PlayUpdateViewDistanceSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlayUpdateViewDistanceSpec
impl Debug for PlayUpdateViewDistanceSpec
Source§impl Deserialize for PlayUpdateViewDistanceSpec
impl Deserialize for PlayUpdateViewDistanceSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
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 PlayUpdateViewDistanceSpec
impl From<VarInt> for PlayUpdateViewDistanceSpec
Source§impl Serialize for PlayUpdateViewDistanceSpec
impl Serialize for PlayUpdateViewDistanceSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayUpdateViewDistanceSpec
Auto Trait Implementations§
impl Freeze for PlayUpdateViewDistanceSpec
impl RefUnwindSafe for PlayUpdateViewDistanceSpec
impl Send for PlayUpdateViewDistanceSpec
impl Sync for PlayUpdateViewDistanceSpec
impl Unpin for PlayUpdateViewDistanceSpec
impl UnwindSafe for PlayUpdateViewDistanceSpec
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