Enum etterna::Skillset7 [−][src]
Skillsets enum, excluding overall
Variants
Implementations
impl Skillset7
[src]
pub fn from_user_input(input: &str) -> Option<Self>
[src]
Same as Skillset8::from_user_input
pub fn list() -> &'static [Self]
[src]
Get a list of all skillsets
Useful for tasks that require operating on all skillsets individually
for &ss in Skillset7::list() { println!("{}: {}", ss, skillsets.get(ss)); }
pub fn iter() -> impl Iterator<Item = Self>
[src]
Iterate all skillsets
Useful for tasks that require operating on all skillsets individually
for ss in Skillset7::iter() { println!("{}: {}", ss, skillsets.get(ss)); }
pub fn into_skillset8(self) -> Skillset8
[src]
Self-explanatory.
assert_eq!(Skillset7::Stream.into_skillset8(), Skillset8::Stream); assert_eq!(Skillset7::Chordjack.into_skillset8(), Skillset8::Chordjack);
Trait Implementations
impl Clone for Skillset7
[src]
impl Copy for Skillset7
[src]
impl Debug for Skillset7
[src]
impl Display for Skillset7
[src]
impl Eq for Skillset7
[src]
impl From<Skillset7> for Skillset8
[src]
impl Hash for Skillset7
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Skillset7
[src]
fn cmp(&self, other: &Skillset7) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Skillset7> for Skillset7
[src]
fn eq(&self, other: &Skillset7) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<Skillset7> for Skillset7
[src]
fn partial_cmp(&self, other: &Skillset7) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Skillset7
[src]
impl StructuralPartialEq for Skillset7
[src]
impl TryFrom<Skillset8> for Skillset7
[src]
Auto Trait Implementations
impl RefUnwindSafe for Skillset7
impl Send for Skillset7
impl Sync for Skillset7
impl Unpin for Skillset7
impl UnwindSafe for Skillset7
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,