Enum flattiverse_connector::item::CrystalKind
source · #[repr(u8)]
pub enum CrystalKind {
LowGrade,
Regular,
Pure,
Mastery,
Divine,
Special,
}
Variants
LowGrade
The crystal has a low grade, 60% of all crystals produced are low grade, meaning the crystal has some major negative effects
Regular
This crystal has a regular quality, 20% of all crystals produced are regular quality. Regular crystals have minor negative effects.
Pure
This crystal is pure, 15% of all crystals produced are pure. Pure grade crystals have no negative effects.
Mastery
Mastery grade crystals have a chance of nearly 5% to be produced. These crystals have increased positive main effects.
Divine
Divine grade crystals have a chance of 0.1% to be produced. These crystals have increased positive main effects and major secondary effects.
Special
A special crystal. These crystals cannot be renamed and have a special set of abilities.
Implementations
sourceimpl CrystalKind
impl CrystalKind
Trait Implementations
sourceimpl Clone for CrystalKind
impl Clone for CrystalKind
sourcefn clone(&self) -> CrystalKind
fn clone(&self) -> CrystalKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CrystalKind
impl Debug for CrystalKind
sourceimpl PartialEq<CrystalKind> for CrystalKind
impl PartialEq<CrystalKind> for CrystalKind
sourcefn eq(&self, other: &CrystalKind) -> bool
fn eq(&self, other: &CrystalKind) -> bool
sourceimpl PartialOrd<CrystalKind> for CrystalKind
impl PartialOrd<CrystalKind> for CrystalKind
sourcefn partial_cmp(&self, other: &CrystalKind) -> Option<Ordering>
fn partial_cmp(&self, other: &CrystalKind) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CrystalKind
impl StructuralPartialEq for CrystalKind
Auto Trait Implementations
impl RefUnwindSafe for CrystalKind
impl Send for CrystalKind
impl Sync for CrystalKind
impl Unpin for CrystalKind
impl UnwindSafe for CrystalKind
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