[][src]Enum evtclib::gamedata::EliteSpec

pub enum EliteSpec {
    Dragonhunter,
    Berserker,
    Scrapper,
    Druid,
    Daredevil,
    Tempest,
    Chronomancer,
    Reaper,
    Herald,
    Firebrand,
    Spellbreaker,
    Holosmith,
    Soulbeast,
    Deadeye,
    Weaver,
    Mirage,
    Scourge,
    Renegade,
}

All possible elite specializations.

Note that the numeric value of the enum variants correspond to the specialization ID in the API as well. See the official wiki for more information regarding the API usage.

Variants

Dragonhunter
Berserker
Scrapper
Druid
Daredevil
Tempest
Chronomancer
Reaper
Herald
Firebrand
Spellbreaker
Holosmith
Soulbeast
Deadeye
Weaver
Mirage
Scourge
Renegade

Implementations

impl EliteSpec[src]

pub fn profession(self) -> Profession[src]

Return the profession that this elite specialization belongs to.

This value is hardcoded (and not expected to change), and does not require a network connection or API access.

Trait Implementations

impl Clone for EliteSpec[src]

impl Copy for EliteSpec[src]

impl Debug for EliteSpec[src]

impl Display for EliteSpec[src]

impl Eq for EliteSpec[src]

impl FromPrimitive for EliteSpec[src]

impl FromStr for EliteSpec[src]

type Err = ParseEliteSpecError

The associated error which can be returned from parsing.

impl Hash for EliteSpec[src]

impl PartialEq<EliteSpec> for EliteSpec[src]

impl StructuralEq for EliteSpec[src]

impl StructuralPartialEq for EliteSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.