Enum ffxiv_types::jobs::combat::Job
source · pub enum Job {
Show 20 variants
Bard,
BlackMage,
Dancer,
Dragoon,
Machinist,
Monk,
Ninja,
Reaper,
RedMage,
Samurai,
Summoner,
Astrologian,
Sage,
Scholar,
WhiteMage,
DarkKnight,
Gunbreaker,
Paladin,
Warrior,
BlueMage,
}
Expand description
The Disciple of War and Disciple of Magic jobs available in the game.
Variants
Bard
BlackMage
Dancer
Dragoon
Machinist
Monk
Ninja
Reaper
RedMage
Samurai
Summoner
Astrologian
Sage
Scholar
WhiteMage
DarkKnight
Gunbreaker
Paladin
Warrior
BlueMage
Implementations
sourceimpl Job
impl Job
pub const ALL: [Job; 20] = _
sourcepub fn name(&self) -> &'static str
pub fn name(&self) -> &'static str
Returns the name of this job.
Names are title-cased and have spaces between words (e.g. “Bard” and “Black Mage”).
sourcepub fn code(&self) -> &'static str
pub fn code(&self) -> &'static str
Returns the short code of this job.
Short codes are fully capitalized (e.g. “BRD”, “BLM”).
sourcepub fn classification(&self) -> Classification
pub fn classification(&self) -> Classification
Returns the Classification
for this job.
Trait Implementations
sourceimpl FromStr for Job
impl FromStr for Job
sourcefn from_str(s: &str) -> Result<Self, Self::Err>
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type.
This accepts the name of the variant as a string, the name of the variant as a string with spaces between words, and the shortened job code for each variant (e.g. “BLM” for Black Mage).
This is case-insensitive.
type Err = UnknownVariant
type Err = UnknownVariant
The associated error which can be returned from parsing.
impl Copy for Job
impl Eq for Job
impl StructuralEq for Job
impl StructuralPartialEq for Job
Auto Trait Implementations
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnwindSafe for Job
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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