Enum nzsc_single_player::characters::Character
[−]
[src]
pub enum Character { Ninja, Zombie, Samurai, Clown, }
Variants
Ninja
Zombie
Samurai
Clown
Methods
impl Character
[src]
pub fn to_u8(self) -> u8
[src]
pub fn get_moves(self) -> Vec<Move>
[src]
pub fn get_boosters(self) -> Vec<Booster>
[src]
Trait Implementations
impl Clone for Character
[src]
fn clone(&self) -> Character
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Character
[src]
impl PartialEq for Character
[src]
fn eq(&self, __arg_0: &Character) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl FromStr for Character
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
Parses a string s
to return a value of this type. Read more