Enum rosu_v2::model::matches::ScoringType
source · #[repr(u8)]pub enum ScoringType {
Score,
Accuracy,
Combo,
ScoreV2,
}
Variants§
Trait Implementations§
source§impl Clone for ScoringType
impl Clone for ScoringType
source§fn clone(&self) -> ScoringType
fn clone(&self) -> ScoringType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScoringType
impl Debug for ScoringType
source§impl Default for ScoringType
impl Default for ScoringType
source§impl<'de> Deserialize<'de> for ScoringType
impl<'de> Deserialize<'de> for ScoringType
source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ScoringType> for u8
impl From<ScoringType> for u8
source§fn from(v: ScoringType) -> Self
fn from(v: ScoringType) -> Self
Converts to this type from the input type.
source§impl Hash for ScoringType
impl Hash for ScoringType
source§impl PartialEq<ScoringType> for ScoringType
impl PartialEq<ScoringType> for ScoringType
source§fn eq(&self, other: &ScoringType) -> bool
fn eq(&self, other: &ScoringType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for ScoringType
impl TryFrom<u8> for ScoringType
impl Copy for ScoringType
impl Eq for ScoringType
impl StructuralEq for ScoringType
impl StructuralPartialEq for ScoringType
Auto Trait Implementations§
impl RefUnwindSafe for ScoringType
impl Send for ScoringType
impl Sync for ScoringType
impl Unpin for ScoringType
impl UnwindSafe for ScoringType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.