Struct sdl_parser::evaluation::MinScore
source · pub struct MinScore {
pub absolute: Option<u32>,
pub percentage: Option<u32>,
}
Fields§
§absolute: Option<u32>
§percentage: Option<u32>
Trait Implementations§
source§impl<'de> Deserialize<'de> for MinScore
impl<'de> Deserialize<'de> for MinScore
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<HelperScore> for MinScore
impl From<HelperScore> for MinScore
source§fn from(helper_source: HelperScore) -> Self
fn from(helper_source: HelperScore) -> Self
Converts to this type from the input type.
source§impl PartialEq for MinScore
impl PartialEq for MinScore
impl Eq for MinScore
impl StructuralEq for MinScore
impl StructuralPartialEq for MinScore
Auto Trait Implementations§
impl RefUnwindSafe for MinScore
impl Send for MinScore
impl Sync for MinScore
impl Unpin for MinScore
impl UnwindSafe for MinScore
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.