pub struct PlayMapDataSpec {
pub map_id: VarInt,
pub scale: i8,
pub tracking_position: bool,
pub locked: bool,
pub icons: CountedArray<MapIconSpec, VarInt>,
pub columns: MapColumns,
}
Fields§
§map_id: VarInt
§scale: i8
§tracking_position: bool
§locked: bool
§icons: CountedArray<MapIconSpec, VarInt>
§columns: MapColumns
Trait Implementations§
Source§impl Clone for PlayMapDataSpec
impl Clone for PlayMapDataSpec
Source§fn clone(&self) -> PlayMapDataSpec
fn clone(&self) -> PlayMapDataSpec
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 PlayMapDataSpec
impl Debug for PlayMapDataSpec
Source§impl Deserialize for PlayMapDataSpec
impl Deserialize for PlayMapDataSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(VarInt, i8, bool, bool, CountedArray<MapIconSpec, VarInt>, MapColumns)> for PlayMapDataSpec
impl From<(VarInt, i8, bool, bool, CountedArray<MapIconSpec, VarInt>, MapColumns)> for PlayMapDataSpec
Source§fn from(
other: (VarInt, i8, bool, bool, CountedArray<MapIconSpec, VarInt>, MapColumns),
) -> Self
fn from( other: (VarInt, i8, bool, bool, CountedArray<MapIconSpec, VarInt>, MapColumns), ) -> Self
Converts to this type from the input type.
Source§impl From<PlayMapDataSpec> for (VarInt, i8, bool, bool, CountedArray<MapIconSpec, VarInt>, MapColumns)
impl From<PlayMapDataSpec> for (VarInt, i8, bool, bool, CountedArray<MapIconSpec, VarInt>, MapColumns)
Source§fn from(other: PlayMapDataSpec) -> Self
fn from(other: PlayMapDataSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayMapDataSpec
impl PartialEq for PlayMapDataSpec
Source§impl Serialize for PlayMapDataSpec
impl Serialize for PlayMapDataSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayMapDataSpec
Auto Trait Implementations§
impl Freeze for PlayMapDataSpec
impl RefUnwindSafe for PlayMapDataSpec
impl Send for PlayMapDataSpec
impl Sync for PlayMapDataSpec
impl Unpin for PlayMapDataSpec
impl UnwindSafe for PlayMapDataSpec
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