pub enum ParticleID {
ParticlePrototype(LuaParticlePrototype),
Name(&'static str),
}Expand description
A particle prototype may be specified in one of two ways.
Variants§
ParticlePrototype(LuaParticlePrototype)
Name(&'static str)
Trait Implementations§
Source§impl Clone for ParticleID
impl Clone for ParticleID
Source§fn clone(&self) -> ParticleID
fn clone(&self) -> ParticleID
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParticleID
Source§impl Debug for ParticleID
impl Debug for ParticleID
Source§impl Default for ParticleID
impl Default for ParticleID
Source§impl From<&'static str> for ParticleID
impl From<&'static str> for ParticleID
Source§impl From<LuaParticlePrototype> for ParticleID
impl From<LuaParticlePrototype> for ParticleID
Source§fn from(value: LuaParticlePrototype) -> Self
fn from(value: LuaParticlePrototype) -> Self
Converts to this type from the input type.
Source§impl From<ParticleID> for LuaAny
impl From<ParticleID> for LuaAny
Source§fn from(_: ParticleID) -> Self
fn from(_: ParticleID) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParticleID
impl PartialEq for ParticleID
impl StructuralPartialEq for ParticleID
Auto Trait Implementations§
impl Freeze for ParticleID
impl RefUnwindSafe for ParticleID
impl Send for ParticleID
impl Sync for ParticleID
impl Unpin for ParticleID
impl UnsafeUnpin for ParticleID
impl UnwindSafe for ParticleID
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