Enum ffxiv_types::races::Race [−][src]
pub enum Race { AuRa, Elezen, Hyur, Lalafell, Miqote, Roegadyn, }
The playable races in the game.
Variants
AuRa
Elezen
Hyur
Lalafell
Miqote
Roegadyn
Methods
impl Race
[src]
impl Race
pub const ALL: [Race; 6]
ALL: [Race; 6] = [Race::AuRa, Race::Elezen, Race::Hyur, Race::Lalafell, Race::Miqote, Race::Roegadyn]
pub fn as_str(&self) -> &'static str
[src]
pub fn as_str(&self) -> &'static str
Returns the string variant of this world.
pub fn name(&self) -> &'static str
[src]
pub fn name(&self) -> &'static str
pub fn clans(&self) -> [Clan; 2]
[src]
pub fn clans(&self) -> [Clan; 2]
Trait Implementations
impl Debug for Race
[src]
impl Debug for Race
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Race
[src]
impl Clone for Race
fn clone(&self) -> Race
[src]
fn clone(&self) -> Race
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Race
[src]
impl Copy for Race
impl FromStr for Race
[src]
impl FromStr for Race
type Err = UnknownVariant
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type.
This is case-insensitive.
impl Display for Race
[src]
impl Display for Race