pub enum ExecuteSubcommand {
Show 13 variants
Align(BTreeSet<Axis>, Box<ExecuteSubcommand>),
Anchored(EntityAnchor, Box<ExecuteSubcommand>),
As(EntitySelector, Box<ExecuteSubcommand>),
At(EntitySelector, Box<ExecuteSubcommand>),
Facing(Facing, Box<ExecuteSubcommand>),
In(ResourceLocation, Box<ExecuteSubcommand>),
On(Relation, Box<ExecuteSubcommand>),
Positioned(Positioned, Box<ExecuteSubcommand>),
Rotated(Rotated, Box<ExecuteSubcommand>),
Summon(ResourceLocation, Box<ExecuteSubcommand>),
If(bool, ExecuteIfSubcommand),
Store(StoreType, ExecuteStoreSubcommand),
Run(Box<Command>),
}Variants§
Align(BTreeSet<Axis>, Box<ExecuteSubcommand>)
Anchored(EntityAnchor, Box<ExecuteSubcommand>)
As(EntitySelector, Box<ExecuteSubcommand>)
At(EntitySelector, Box<ExecuteSubcommand>)
Facing(Facing, Box<ExecuteSubcommand>)
In(ResourceLocation, Box<ExecuteSubcommand>)
On(Relation, Box<ExecuteSubcommand>)
Positioned(Positioned, Box<ExecuteSubcommand>)
Rotated(Rotated, Box<ExecuteSubcommand>)
Summon(ResourceLocation, Box<ExecuteSubcommand>)
If(bool, ExecuteIfSubcommand)
Store(StoreType, ExecuteStoreSubcommand)
Run(Box<Command>)
Trait Implementations§
Source§impl Clone for ExecuteSubcommand
impl Clone for ExecuteSubcommand
Source§fn clone(&self) -> ExecuteSubcommand
fn clone(&self) -> ExecuteSubcommand
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 ExecuteSubcommand
impl Debug for ExecuteSubcommand
Source§impl Display for ExecuteSubcommand
impl Display for ExecuteSubcommand
Source§impl HasMacro for ExecuteSubcommand
impl HasMacro for ExecuteSubcommand
Source§impl Hash for ExecuteSubcommand
impl Hash for ExecuteSubcommand
Source§impl PartialEq for ExecuteSubcommand
impl PartialEq for ExecuteSubcommand
impl Eq for ExecuteSubcommand
impl StructuralPartialEq for ExecuteSubcommand
Auto Trait Implementations§
impl Freeze for ExecuteSubcommand
impl RefUnwindSafe for ExecuteSubcommand
impl Send for ExecuteSubcommand
impl Sync for ExecuteSubcommand
impl Unpin for ExecuteSubcommand
impl UnwindSafe for ExecuteSubcommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more