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