Enum veloren_common::npc::NpcKind
source · pub enum NpcKind {
Show 15 variants
Humanoid,
Wolf,
Pig,
Duck,
Phoenix,
Clownfish,
Marlin,
Ogre,
Gnome,
Archaeos,
StoneGolem,
Reddragon,
Crocodile,
Tarantula,
Crab,
}
Variants§
Humanoid
Wolf
Pig
Duck
Phoenix
Clownfish
Marlin
Ogre
Gnome
Archaeos
StoneGolem
Reddragon
Crocodile
Tarantula
Crab
Trait Implementations§
source§impl<BodyMeta, SpeciesMeta> Index<NpcKind> for AllBodies<BodyMeta, SpeciesMeta>
impl<BodyMeta, SpeciesMeta> Index<NpcKind> for AllBodies<BodyMeta, SpeciesMeta>
Can only retrieve body metadata by direct index.
source§impl PartialEq for NpcKind
impl PartialEq for NpcKind
impl Copy for NpcKind
impl Eq for NpcKind
impl StructuralEq for NpcKind
impl StructuralPartialEq for NpcKind
Auto Trait Implementations§
impl RefUnwindSafe for NpcKind
impl Send for NpcKind
impl Sync for NpcKind
impl Unpin for NpcKind
impl UnwindSafe for NpcKind
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
§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
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.