pub enum DateStrongAnyForm {
Day(DateDayForm),
Month(DateMonthForm),
Year(LongShortForm),
}
Expand description
Strongly typed date part formats.
Variants§
Implementations§
source§impl DateStrongAnyForm
impl DateStrongAnyForm
sourcepub fn for_name(name: DatePartName, form: Option<DateAnyForm>) -> Self
pub fn for_name(name: DatePartName, form: Option<DateAnyForm>) -> Self
Get a strongly typed date form for a name. Must return Some
for valid
CSL files.
Trait Implementations§
source§impl Clone for DateStrongAnyForm
impl Clone for DateStrongAnyForm
source§fn clone(&self) -> DateStrongAnyForm
fn clone(&self) -> DateStrongAnyForm
Returns a copy 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 moresource§impl Debug for DateStrongAnyForm
impl Debug for DateStrongAnyForm
source§impl Hash for DateStrongAnyForm
impl Hash for DateStrongAnyForm
source§impl PartialEq for DateStrongAnyForm
impl PartialEq for DateStrongAnyForm
impl Copy for DateStrongAnyForm
impl Eq for DateStrongAnyForm
impl StructuralPartialEq for DateStrongAnyForm
Auto Trait Implementations§
impl Freeze for DateStrongAnyForm
impl RefUnwindSafe for DateStrongAnyForm
impl Send for DateStrongAnyForm
impl Sync for DateStrongAnyForm
impl Unpin for DateStrongAnyForm
impl UnwindSafe for DateStrongAnyForm
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)