pub enum EnemyRole {
Normal,
Boss,
Add,
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EnemyRole
impl<'de> Deserialize<'de> for EnemyRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for EnemyRole
impl Eq for EnemyRole
impl StructuralPartialEq for EnemyRole
Auto Trait Implementations§
impl Freeze for EnemyRole
impl RefUnwindSafe for EnemyRole
impl Send for EnemyRole
impl Sync for EnemyRole
impl Unpin for EnemyRole
impl UnsafeUnpin for EnemyRole
impl UnwindSafe for EnemyRole
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