pub enum FunctionCommandArguments {
Compound(SNBTCompound),
DataTarget(DataTarget, Option<NbtPath>),
}Variants§
Compound(SNBTCompound)
DataTarget(DataTarget, Option<NbtPath>)
Trait Implementations§
Source§impl Clone for FunctionCommandArguments
impl Clone for FunctionCommandArguments
Source§fn clone(&self) -> FunctionCommandArguments
fn clone(&self) -> FunctionCommandArguments
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 FunctionCommandArguments
impl Debug for FunctionCommandArguments
Source§impl Display for FunctionCommandArguments
impl Display for FunctionCommandArguments
Source§impl HasMacro for FunctionCommandArguments
impl HasMacro for FunctionCommandArguments
Source§impl Hash for FunctionCommandArguments
impl Hash for FunctionCommandArguments
Source§impl PartialEq for FunctionCommandArguments
impl PartialEq for FunctionCommandArguments
impl Eq for FunctionCommandArguments
impl StructuralPartialEq for FunctionCommandArguments
Auto Trait Implementations§
impl Freeze for FunctionCommandArguments
impl RefUnwindSafe for FunctionCommandArguments
impl Send for FunctionCommandArguments
impl Sync for FunctionCommandArguments
impl Unpin for FunctionCommandArguments
impl UnwindSafe for FunctionCommandArguments
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