[−][src]Enum evtclib::gamedata::EliteSpec
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
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]
fn from_i64(n: i64) -> Option<Self>
[src]
fn from_u64(n: u64) -> Option<Self>
[src]
fn from_isize(n: isize) -> Option<Self>
[src]
fn from_i8(n: i8) -> Option<Self>
[src]
fn from_i16(n: i16) -> Option<Self>
[src]
fn from_i32(n: i32) -> Option<Self>
[src]
fn from_i128(n: i128) -> Option<Self>
[src]
fn from_usize(n: usize) -> Option<Self>
[src]
fn from_u8(n: u8) -> Option<Self>
[src]
fn from_u16(n: u16) -> Option<Self>
[src]
fn from_u32(n: u32) -> Option<Self>
[src]
fn from_u128(n: u128) -> Option<Self>
[src]
fn from_f32(n: f32) -> Option<Self>
[src]
fn from_f64(n: f64) -> Option<Self>
[src]
impl FromStr for EliteSpec
[src]
type Err = ParseEliteSpecError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Hash for EliteSpec
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<EliteSpec> for EliteSpec
[src]
impl StructuralEq for EliteSpec
[src]
impl StructuralPartialEq for EliteSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for EliteSpec
impl Send for EliteSpec
impl Sync for EliteSpec
impl Unpin for EliteSpec
impl UnwindSafe for EliteSpec
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,