Struct entmet_lib::entities::entity::MinecartCommandBlock
source · pub struct MinecartCommandBlock {
pub command: String,
pub last_output: TextComponent,
/* private fields */
}Expand description
An instance of a minecart that carries a command block
Fields§
§command: StringThe command of the command block
last_output: TextComponentThe last output of the command block
Trait Implementations§
source§impl Default for MinecartCommandBlock
impl Default for MinecartCommandBlock
source§fn default() -> MinecartCommandBlock
fn default() -> MinecartCommandBlock
Returns the “default value” for a type. Read more
source§impl Deref for MinecartCommandBlock
impl Deref for MinecartCommandBlock
source§impl DerefMut for MinecartCommandBlock
impl DerefMut for MinecartCommandBlock
source§impl PartialEq for MinecartCommandBlock
impl PartialEq for MinecartCommandBlock
source§fn eq(&self, other: &MinecartCommandBlock) -> bool
fn eq(&self, other: &MinecartCommandBlock) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MinecartCommandBlock
Auto Trait Implementations§
impl Freeze for MinecartCommandBlock
impl RefUnwindSafe for MinecartCommandBlock
impl Send for MinecartCommandBlock
impl Sync for MinecartCommandBlock
impl Unpin for MinecartCommandBlock
impl UnwindSafe for MinecartCommandBlock
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