pub enum Attackable {
Unit,
Turret,
Factory,
}Variants§
Trait Implementations§
Source§impl Clone for Attackable
impl Clone for Attackable
Source§fn clone(&self) -> Attackable
fn clone(&self) -> Attackable
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 moreimpl Copy for Attackable
Auto Trait Implementations§
impl Freeze for Attackable
impl RefUnwindSafe for Attackable
impl Send for Attackable
impl Sync for Attackable
impl Unpin for Attackable
impl UnwindSafe for Attackable
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