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