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