Struct icu_datetime::neo_marker::DateTimeCombo
source · pub struct DateTimeCombo<D, T, Z> { /* private fields */ }
Expand description
A struct that supports formatting both a date and a time.
It should be composed from types implementing HasConstDayComponents
and HasConstTimeComponents
.
Trait Implementations§
source§impl<D> DateTimeMarkers for DateTimeCombo<D, NeoNeverMarker, NeoNeverMarker>where
D: DateTimeMarkers,
impl<D> DateTimeMarkers for DateTimeCombo<D, NeoNeverMarker, NeoNeverMarker>where
D: DateTimeMarkers,
§type T = NeoNeverMarker
type T = NeoNeverMarker
Associated types for time formatting. Read more
§type Z = NeoNeverMarker
type Z = NeoNeverMarker
Associated types for time zone formatting. Read more
§type LengthOption = NeoSkeletonLength
type LengthOption = NeoSkeletonLength
Type of the length option in the constructor.
§type AlignmentOption = <D as DateTimeMarkers>::AlignmentOption
type AlignmentOption = <D as DateTimeMarkers>::AlignmentOption
Type of the alignment option in the constructor.
§type EraDisplayOption = <D as DateTimeMarkers>::EraDisplayOption
type EraDisplayOption = <D as DateTimeMarkers>::EraDisplayOption
Type of the era display option in the constructor.
§type FractionalSecondDigitsOption = NeverField
type FractionalSecondDigitsOption = NeverField
Type of the fractional seconds display option in the constructor.
§type GluePatternV1Marker = NeverMarker<GluePatternV1<'static>>
type GluePatternV1Marker = NeverMarker<GluePatternV1<'static>>
Marker for loading the date/time glue pattern.
source§impl<D, T> DateTimeMarkers for DateTimeCombo<D, T, NeoNeverMarker>where
D: DateTimeMarkers,
T: DateTimeMarkers,
impl<D, T> DateTimeMarkers for DateTimeCombo<D, T, NeoNeverMarker>where
D: DateTimeMarkers,
T: DateTimeMarkers,
§type Z = NeoNeverMarker
type Z = NeoNeverMarker
Associated types for time zone formatting. Read more
§type LengthOption = NeoSkeletonLength
type LengthOption = NeoSkeletonLength
Type of the length option in the constructor.
§type AlignmentOption = Option<Alignment>
type AlignmentOption = Option<Alignment>
Type of the alignment option in the constructor.
§type EraDisplayOption = <D as DateTimeMarkers>::EraDisplayOption
type EraDisplayOption = <D as DateTimeMarkers>::EraDisplayOption
Type of the era display option in the constructor.
§type FractionalSecondDigitsOption = <T as DateTimeMarkers>::FractionalSecondDigitsOption
type FractionalSecondDigitsOption = <T as DateTimeMarkers>::FractionalSecondDigitsOption
Type of the fractional seconds display option in the constructor.
§type GluePatternV1Marker = GluePatternV1Marker
type GluePatternV1Marker = GluePatternV1Marker
Marker for loading the date/time glue pattern.
source§impl<D, T, Z> DateTimeMarkers for DateTimeCombo<D, T, Z>
impl<D, T, Z> DateTimeMarkers for DateTimeCombo<D, T, Z>
§type LengthOption = NeoSkeletonLength
type LengthOption = NeoSkeletonLength
Type of the length option in the constructor.
§type AlignmentOption = Option<Alignment>
type AlignmentOption = Option<Alignment>
Type of the alignment option in the constructor.
§type EraDisplayOption = <D as DateTimeMarkers>::EraDisplayOption
type EraDisplayOption = <D as DateTimeMarkers>::EraDisplayOption
Type of the era display option in the constructor.
§type FractionalSecondDigitsOption = <T as DateTimeMarkers>::FractionalSecondDigitsOption
type FractionalSecondDigitsOption = <T as DateTimeMarkers>::FractionalSecondDigitsOption
Type of the fractional seconds display option in the constructor.
§type GluePatternV1Marker = GluePatternV1Marker
type GluePatternV1Marker = GluePatternV1Marker
Marker for loading the date/time glue pattern.
source§impl<Z> DateTimeMarkers for DateTimeCombo<NeoNeverMarker, NeoNeverMarker, Z>where
Z: DateTimeMarkers,
impl<Z> DateTimeMarkers for DateTimeCombo<NeoNeverMarker, NeoNeverMarker, Z>where
Z: DateTimeMarkers,
§type D = NeoNeverMarker
type D = NeoNeverMarker
Associated types for date formatting. Read more
§type T = NeoNeverMarker
type T = NeoNeverMarker
Associated types for time formatting. Read more
§type LengthOption = <Z as DateTimeMarkers>::LengthOption
type LengthOption = <Z as DateTimeMarkers>::LengthOption
Type of the length option in the constructor.
§type AlignmentOption = <Z as DateTimeMarkers>::AlignmentOption
type AlignmentOption = <Z as DateTimeMarkers>::AlignmentOption
Type of the alignment option in the constructor.
§type EraDisplayOption = NeverField
type EraDisplayOption = NeverField
Type of the era display option in the constructor.
§type FractionalSecondDigitsOption = NeverField
type FractionalSecondDigitsOption = NeverField
Type of the fractional seconds display option in the constructor.
§type GluePatternV1Marker = GluePatternV1Marker
type GluePatternV1Marker = GluePatternV1Marker
Marker for loading the date/time glue pattern.
source§impl<T> DateTimeMarkers for DateTimeCombo<NeoNeverMarker, T, NeoNeverMarker>where
T: DateTimeMarkers,
impl<T> DateTimeMarkers for DateTimeCombo<NeoNeverMarker, T, NeoNeverMarker>where
T: DateTimeMarkers,
§type D = NeoNeverMarker
type D = NeoNeverMarker
Associated types for date formatting. Read more
§type Z = NeoNeverMarker
type Z = NeoNeverMarker
Associated types for time zone formatting. Read more
§type LengthOption = NeoSkeletonLength
type LengthOption = NeoSkeletonLength
Type of the length option in the constructor.
§type AlignmentOption = Option<Alignment>
type AlignmentOption = Option<Alignment>
Type of the alignment option in the constructor.
§type EraDisplayOption = NeverField
type EraDisplayOption = NeverField
Type of the era display option in the constructor.
§type FractionalSecondDigitsOption = <T as DateTimeMarkers>::FractionalSecondDigitsOption
type FractionalSecondDigitsOption = <T as DateTimeMarkers>::FractionalSecondDigitsOption
Type of the fractional seconds display option in the constructor.
§type GluePatternV1Marker = NeverMarker<GluePatternV1<'static>>
type GluePatternV1Marker = NeverMarker<GluePatternV1<'static>>
Marker for loading the date/time glue pattern.
source§impl<D> HasConstComponents for DateTimeCombo<D, NeoNeverMarker, NeoNeverMarker>where
D: HasConstDateComponents,
impl<D> HasConstComponents for DateTimeCombo<D, NeoNeverMarker, NeoNeverMarker>where
D: HasConstDateComponents,
source§const COMPONENTS: NeoComponents = _
const COMPONENTS: NeoComponents = _
The associated components.
source§impl<D, T> HasConstComponents for DateTimeCombo<D, T, NeoNeverMarker>where
D: HasConstDayComponents,
T: HasConstTimeComponents,
impl<D, T> HasConstComponents for DateTimeCombo<D, T, NeoNeverMarker>where
D: HasConstDayComponents,
T: HasConstTimeComponents,
source§const COMPONENTS: NeoComponents = _
const COMPONENTS: NeoComponents = _
The associated components.
source§impl<D, T, Z> HasConstComponents for DateTimeCombo<D, T, Z>
impl<D, T, Z> HasConstComponents for DateTimeCombo<D, T, Z>
source§const COMPONENTS: NeoComponents = _
const COMPONENTS: NeoComponents = _
The associated components.
source§impl<Z> HasConstComponents for DateTimeCombo<NeoNeverMarker, NeoNeverMarker, Z>where
Z: HasConstZoneComponent,
impl<Z> HasConstComponents for DateTimeCombo<NeoNeverMarker, NeoNeverMarker, Z>where
Z: HasConstZoneComponent,
source§const COMPONENTS: NeoComponents = _
const COMPONENTS: NeoComponents = _
The associated components.
source§impl<T> HasConstComponents for DateTimeCombo<NeoNeverMarker, T, NeoNeverMarker>where
T: HasConstTimeComponents,
impl<T> HasConstComponents for DateTimeCombo<NeoNeverMarker, T, NeoNeverMarker>where
T: HasConstTimeComponents,
source§const COMPONENTS: NeoComponents = _
const COMPONENTS: NeoComponents = _
The associated components.
Auto Trait Implementations§
impl<D, T, Z> Freeze for DateTimeCombo<D, T, Z>
impl<D, T, Z> RefUnwindSafe for DateTimeCombo<D, T, Z>
impl<D, T, Z> Send for DateTimeCombo<D, T, Z>
impl<D, T, Z> Sync for DateTimeCombo<D, T, Z>
impl<D, T, Z> Unpin for DateTimeCombo<D, T, Z>
impl<D, T, Z> UnwindSafe for DateTimeCombo<D, T, Z>
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> 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