#[repr(u8)]pub enum Ease {
Again = 1,
Hard = 2,
Good = 3,
Easy = 4,
}Expand description
Answer ease for reviewing cards.
The meaning of each ease depends on the card state:
- For new/learning cards: Again, Hard, Good, Easy
- For review cards: Again (lapse), Hard, Good, Easy
Variants§
Again = 1
Mark the card as failed (Again).
Hard = 2
Mark the card as hard.
Good = 3
Mark the card as good.
Easy = 4
Mark the card as easy.
Trait Implementations§
Source§impl Serialize for Ease
impl Serialize for Ease
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Ease
impl Eq for Ease
impl StructuralPartialEq for Ease
Auto Trait Implementations§
impl Freeze for Ease
impl RefUnwindSafe for Ease
impl Send for Ease
impl Sync for Ease
impl Unpin for Ease
impl UnwindSafe for Ease
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.