#[repr(u8)]pub enum SnifferState {
Idling = 0,
FeelingHappy = 1,
Scenting = 2,
Sniffing = 3,
Searching = 4,
Digging = 5,
Rising = 6,
}Expand description
Sniffer entity state.
Variants§
Trait Implementations§
Source§impl Clone for SnifferState
impl Clone for SnifferState
Source§fn clone(&self) -> SnifferState
fn clone(&self) -> SnifferState
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 SnifferState
Source§impl Debug for SnifferState
impl Debug for SnifferState
Source§impl Default for SnifferState
impl Default for SnifferState
Source§fn default() -> SnifferState
fn default() -> SnifferState
Returns the “default value” for a type. Read more
impl Eq for SnifferState
Source§impl Hash for SnifferState
impl Hash for SnifferState
Source§impl PartialEq for SnifferState
impl PartialEq for SnifferState
Source§fn eq(&self, other: &SnifferState) -> bool
fn eq(&self, other: &SnifferState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SnifferState
Auto Trait Implementations§
impl Freeze for SnifferState
impl RefUnwindSafe for SnifferState
impl Send for SnifferState
impl Sync for SnifferState
impl Unpin for SnifferState
impl UnsafeUnpin for SnifferState
impl UnwindSafe for SnifferState
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.