[−][src]Enum riven::consts::Division
LoL and TFT rank divisions, I, II, III, IV, and (deprecated) V.
Ordered such that "higher" divisions are greater than "lower" ones: Division::I > Division::IV
.
Repr'd as equivalent numeric values, (1, 2, 3, 4, 5).
Implements IntoEnumIterator. Iterator excludes deprecated Division::V
.
Variants
👎 Deprecated:
Removed for 2019.
Trait Implementations
impl AsRef<str> for Division
[src]
impl Clone for Division
[src]
impl Copy for Division
[src]
impl Debug for Division
[src]
impl<'de> Deserialize<'de> for Division
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Display for Division
[src]
impl Eq for Division
[src]
impl<'_derivative_strum> From<&'_derivative_strum Division> for &'static str
[src]
impl From<Division> for &'static str
[src]
impl From<Division> for u8
[src]
impl FromStr for Division
[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Division, Self::Err>
[src]
impl Hash for Division
[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 IntoEnumIterator for Division
[src]
Returns a DoubleEndedIterator of I, II, III, IV. Ordered from high rank (I) to low (IV). Excludes V, which is deprecated.
impl Ord for Division
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Division> for Division
[src]
impl PartialOrd<Division> for Division
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for Division
[src]
impl StructuralEq for Division
[src]
impl StructuralPartialEq for Division
[src]
impl TryFrom<u8> for Division
[src]
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
impl TryFromPrimitive for Division
[src]
type Primitive = u8
const NAME: &'static str
[src]
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations
impl RefUnwindSafe for Division
impl Send for Division
impl Sync for Division
impl Unpin for Division
impl UnwindSafe for Division
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[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>,