pub enum UpdateCheck {
LT,
GT,
}
Expand description
Helper enum that is used to define update checks
Variants§
LT
LT – Only update if the new score is less than the current.
GT
GT – Only update if the new score is greater than the current.
Trait Implementations§
Source§impl Clone for UpdateCheck
impl Clone for UpdateCheck
Source§fn clone(&self) -> UpdateCheck
fn clone(&self) -> UpdateCheck
Returns a duplicate 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 moreimpl Copy for UpdateCheck
Auto Trait Implementations§
impl Freeze for UpdateCheck
impl RefUnwindSafe for UpdateCheck
impl Send for UpdateCheck
impl Sync for UpdateCheck
impl Unpin for UpdateCheck
impl UnwindSafe for UpdateCheck
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