pub enum BookNameStyle {
Long,
Short,
}Expand description
Controls whether localized book names are written in long or short form.
Variants§
Long
Use a localized full name, such as Juan.
Short
Use the shortest localized abbreviation, such as Jn.
Trait Implementations§
Source§impl Clone for BookNameStyle
impl Clone for BookNameStyle
Source§fn clone(&self) -> BookNameStyle
fn clone(&self) -> BookNameStyle
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 moreimpl Copy for BookNameStyle
Source§impl Debug for BookNameStyle
impl Debug for BookNameStyle
Source§impl Default for BookNameStyle
impl Default for BookNameStyle
Source§fn default() -> BookNameStyle
fn default() -> BookNameStyle
Returns the “default value” for a type. Read more
impl Eq for BookNameStyle
Source§impl Hash for BookNameStyle
impl Hash for BookNameStyle
Source§impl PartialEq for BookNameStyle
impl PartialEq for BookNameStyle
impl StructuralPartialEq for BookNameStyle
Auto Trait Implementations§
impl Freeze for BookNameStyle
impl RefUnwindSafe for BookNameStyle
impl Send for BookNameStyle
impl Sync for BookNameStyle
impl Unpin for BookNameStyle
impl UnsafeUnpin for BookNameStyle
impl UnwindSafe for BookNameStyle
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.