pub enum DeathMessageType {
Default,
FallVariants,
IntentionalGameDesign,
}Expand description
How the death message is formatted.
Variants§
Trait Implementations§
Source§impl Clone for DeathMessageType
impl Clone for DeathMessageType
Source§fn clone(&self) -> DeathMessageType
fn clone(&self) -> DeathMessageType
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 DeathMessageType
Source§impl Debug for DeathMessageType
impl Debug for DeathMessageType
impl Eq for DeathMessageType
Source§impl PartialEq for DeathMessageType
impl PartialEq for DeathMessageType
Source§fn eq(&self, other: &DeathMessageType) -> bool
fn eq(&self, other: &DeathMessageType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeathMessageType
Auto Trait Implementations§
impl Freeze for DeathMessageType
impl RefUnwindSafe for DeathMessageType
impl Send for DeathMessageType
impl Sync for DeathMessageType
impl Unpin for DeathMessageType
impl UnsafeUnpin for DeathMessageType
impl UnwindSafe for DeathMessageType
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.