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