Enum dis_rs::enumerations::AppearanceDamage
source · pub enum AppearanceDamage {
NoDamage,
SlightDamage,
ModerateDamage,
Destroyed,
Unspecified(u8),
}Variants§
Trait Implementations§
source§impl Clone for AppearanceDamage
impl Clone for AppearanceDamage
source§fn clone(&self) -> AppearanceDamage
fn clone(&self) -> AppearanceDamage
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 AppearanceDamage
impl Debug for AppearanceDamage
source§impl Default for AppearanceDamage
impl Default for AppearanceDamage
source§impl Display for AppearanceDamage
impl Display for AppearanceDamage
source§impl From<AppearanceDamage> for u8
impl From<AppearanceDamage> for u8
source§fn from(value: AppearanceDamage) -> Self
fn from(value: AppearanceDamage) -> Self
Converts to this type from the input type.
source§impl From<u8> for AppearanceDamage
impl From<u8> for AppearanceDamage
source§impl Hash for AppearanceDamage
impl Hash for AppearanceDamage
source§impl PartialEq for AppearanceDamage
impl PartialEq for AppearanceDamage
source§fn eq(&self, other: &AppearanceDamage) -> bool
fn eq(&self, other: &AppearanceDamage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AppearanceDamage
impl Eq for AppearanceDamage
impl StructuralEq for AppearanceDamage
impl StructuralPartialEq for AppearanceDamage
Auto Trait Implementations§
impl RefUnwindSafe for AppearanceDamage
impl Send for AppearanceDamage
impl Sync for AppearanceDamage
impl Unpin for AppearanceDamage
impl UnwindSafe for AppearanceDamage
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