pub enum MapDamageType {
TpDrain,
Spikes,
Unrecognized(i32),
}
Expand description
Type of damage being caused by the environment
Variants§
Trait Implementations§
Source§impl Clone for MapDamageType
impl Clone for MapDamageType
Source§fn clone(&self) -> MapDamageType
fn clone(&self) -> MapDamageType
Returns a copy 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 MapDamageType
impl Debug for MapDamageType
Source§impl Default for MapDamageType
impl Default for MapDamageType
Source§impl From<MapDamageType> for i32
impl From<MapDamageType> for i32
Source§fn from(value: MapDamageType) -> i32
fn from(value: MapDamageType) -> i32
Converts to this type from the input type.
Source§impl From<i32> for MapDamageType
impl From<i32> for MapDamageType
Source§impl PartialEq for MapDamageType
impl PartialEq for MapDamageType
impl Copy for MapDamageType
impl Eq for MapDamageType
impl StructuralPartialEq for MapDamageType
Auto Trait Implementations§
impl Freeze for MapDamageType
impl RefUnwindSafe for MapDamageType
impl Send for MapDamageType
impl Sync for MapDamageType
impl Unpin for MapDamageType
impl UnwindSafe for MapDamageType
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