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