pub enum PaceRating {
Fast,
Medium,
Slow,
}Expand description
Pace rating for a book: fast, medium, or slow.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaceRating
impl Clone for PaceRating
Source§fn clone(&self) -> PaceRating
fn clone(&self) -> PaceRating
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaceRating
impl Debug for PaceRating
Source§impl<'de> Deserialize<'de> for PaceRating
impl<'de> Deserialize<'de> for PaceRating
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 Display for PaceRating
impl Display for PaceRating
Source§impl FromStr for PaceRating
impl FromStr for PaceRating
Source§impl PartialEq for PaceRating
impl PartialEq for PaceRating
Source§fn eq(&self, other: &PaceRating) -> bool
fn eq(&self, other: &PaceRating) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PaceRating
impl Serialize for PaceRating
impl Copy for PaceRating
impl Eq for PaceRating
impl StructuralPartialEq for PaceRating
Auto Trait Implementations§
impl Freeze for PaceRating
impl RefUnwindSafe for PaceRating
impl Send for PaceRating
impl Sync for PaceRating
impl Unpin for PaceRating
impl UnsafeUnpin for PaceRating
impl UnwindSafe for PaceRating
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