pub enum PromotionTarget {
Pickup,
Hazard,
Interactable,
WorldScar,
PersistentDebris,
ResourceNode,
AIStimulus,
}Expand description
Promotion target — what a particle becomes when promoted to gameplay entity.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PromotionTarget
impl Clone for PromotionTarget
Source§fn clone(&self) -> PromotionTarget
fn clone(&self) -> PromotionTarget
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 PromotionTarget
impl Debug for PromotionTarget
Source§impl<'de> Deserialize<'de> for PromotionTarget
impl<'de> Deserialize<'de> for PromotionTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for PromotionTarget
impl Hash for PromotionTarget
Source§impl PartialEq for PromotionTarget
impl PartialEq for PromotionTarget
Source§impl Serialize for PromotionTarget
impl Serialize for PromotionTarget
impl Copy for PromotionTarget
impl Eq for PromotionTarget
impl StructuralPartialEq for PromotionTarget
Auto Trait Implementations§
impl Freeze for PromotionTarget
impl RefUnwindSafe for PromotionTarget
impl Send for PromotionTarget
impl Sync for PromotionTarget
impl Unpin for PromotionTarget
impl UnsafeUnpin for PromotionTarget
impl UnwindSafe for PromotionTarget
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