pub struct PlayUpdateCommandBlockMinecartSpec {
pub entity_id: VarInt,
pub command: String,
pub track_output: bool,
}Fields§
§entity_id: VarInt§command: String§track_output: boolTrait Implementations§
Source§impl Clone for PlayUpdateCommandBlockMinecartSpec
impl Clone for PlayUpdateCommandBlockMinecartSpec
Source§fn clone(&self) -> PlayUpdateCommandBlockMinecartSpec
fn clone(&self) -> PlayUpdateCommandBlockMinecartSpec
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 Deserialize for PlayUpdateCommandBlockMinecartSpec
impl Deserialize for PlayUpdateCommandBlockMinecartSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayUpdateCommandBlockMinecartSpec> for (VarInt, String, bool)
impl From<PlayUpdateCommandBlockMinecartSpec> for (VarInt, String, bool)
Source§fn from(other: PlayUpdateCommandBlockMinecartSpec) -> Self
fn from(other: PlayUpdateCommandBlockMinecartSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayUpdateCommandBlockMinecartSpec
impl PartialEq for PlayUpdateCommandBlockMinecartSpec
Source§fn eq(&self, other: &PlayUpdateCommandBlockMinecartSpec) -> bool
fn eq(&self, other: &PlayUpdateCommandBlockMinecartSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PlayUpdateCommandBlockMinecartSpec
impl Serialize for PlayUpdateCommandBlockMinecartSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayUpdateCommandBlockMinecartSpec
Auto Trait Implementations§
impl Freeze for PlayUpdateCommandBlockMinecartSpec
impl RefUnwindSafe for PlayUpdateCommandBlockMinecartSpec
impl Send for PlayUpdateCommandBlockMinecartSpec
impl Sync for PlayUpdateCommandBlockMinecartSpec
impl Unpin for PlayUpdateCommandBlockMinecartSpec
impl UnwindSafe for PlayUpdateCommandBlockMinecartSpec
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