pub enum MonthStyle {
Long,
Abbrev,
Number,
}Expand description
Month rendering style used by month normalization.
Variants§
Long
Full English month names such as January.
Abbrev
Three-letter lowercase BibTeX abbreviations such as jan.
Number
One-based month numbers such as 1.
Trait Implementations§
Source§impl Clone for MonthStyle
impl Clone for MonthStyle
Source§fn clone(&self) -> MonthStyle
fn clone(&self) -> MonthStyle
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 MonthStyle
impl Debug for MonthStyle
Source§impl Default for MonthStyle
impl Default for MonthStyle
Source§fn default() -> MonthStyle
fn default() -> MonthStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for MonthStyle
impl PartialEq for MonthStyle
Source§fn eq(&self, other: &MonthStyle) -> bool
fn eq(&self, other: &MonthStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MonthStyle
impl Eq for MonthStyle
impl StructuralPartialEq for MonthStyle
Auto Trait Implementations§
impl Freeze for MonthStyle
impl RefUnwindSafe for MonthStyle
impl Send for MonthStyle
impl Sync for MonthStyle
impl Unpin for MonthStyle
impl UnsafeUnpin for MonthStyle
impl UnwindSafe for MonthStyle
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more