pub enum ParticleCommand {
Regular(String, Option<Coordinates>),
Extra(String, Coordinates, Coordinates, NotNan<f32>, i32, Option<ParticleDisplayType>, Option<EntitySelector>),
}Variants§
Regular(String, Option<Coordinates>)
Extra(String, Coordinates, Coordinates, NotNan<f32>, i32, Option<ParticleDisplayType>, Option<EntitySelector>)
Trait Implementations§
Source§impl Clone for ParticleCommand
impl Clone for ParticleCommand
Source§fn clone(&self) -> ParticleCommand
fn clone(&self) -> ParticleCommand
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 ParticleCommand
impl Debug for ParticleCommand
Source§impl Display for ParticleCommand
impl Display for ParticleCommand
Source§impl HasMacro for ParticleCommand
impl HasMacro for ParticleCommand
Source§impl Hash for ParticleCommand
impl Hash for ParticleCommand
Source§impl PartialEq for ParticleCommand
impl PartialEq for ParticleCommand
impl Eq for ParticleCommand
impl StructuralPartialEq for ParticleCommand
Auto Trait Implementations§
impl Freeze for ParticleCommand
impl RefUnwindSafe for ParticleCommand
impl Send for ParticleCommand
impl Sync for ParticleCommand
impl Unpin for ParticleCommand
impl UnwindSafe for ParticleCommand
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