pub enum EnemyState {
Patrol,
Investigate,
Search,
Engage,
Retreat,
Reload,
Dead,
}Variants§
Trait Implementations§
Source§impl Clone for EnemyState
impl Clone for EnemyState
Source§fn clone(&self) -> EnemyState
fn clone(&self) -> EnemyState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnemyState
impl Debug for EnemyState
Source§impl PartialEq for EnemyState
impl PartialEq for EnemyState
impl Copy for EnemyState
impl Eq for EnemyState
impl StructuralPartialEq for EnemyState
Auto Trait Implementations§
impl Freeze for EnemyState
impl RefUnwindSafe for EnemyState
impl Send for EnemyState
impl Sync for EnemyState
impl Unpin for EnemyState
impl UnwindSafe for EnemyState
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