Enum rust_warrior::unit::UnitType
source · [−]pub enum UnitType {
Archer,
Captive,
Sludge,
ThickSludge,
Warrior,
Wizard,
}
Expand description
The Warrior (our protagonist), enemy Sludges and Archers, and Captives.
Variants
Archer
Captive
Sludge
ThickSludge
Warrior
Wizard
Implementations
Trait Implementations
impl Copy for UnitType
impl StructuralPartialEq for UnitType
Auto Trait Implementations
impl RefUnwindSafe for UnitType
impl Send for UnitType
impl Sync for UnitType
impl Unpin for UnitType
impl UnwindSafe for UnitType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more