pub enum LogKind {
Info,
Good,
Bad,
Money,
}Expand description
How the game styles a message in its log.
Variants§
Info
News: a guest arrived, an event started.
Good
Good news: a new star, a milestone.
Bad
Bad news: a fire, a tenant leaving.
Money
A payment or a charge.
Implementations§
Trait Implementations§
impl Copy for LogKind
impl Eq for LogKind
impl StructuralPartialEq for LogKind
Auto Trait Implementations§
impl Freeze for LogKind
impl RefUnwindSafe for LogKind
impl Send for LogKind
impl Sync for LogKind
impl Unpin for LogKind
impl UnsafeUnpin for LogKind
impl UnwindSafe for LogKind
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
Checks if this value is equivalent to the given key. Read more
§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.