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,

§

type D = D

Associated types for date formatting. Read more
§

type T = NeoNeverMarker

Associated types for time formatting. Read more
§

type Z = NeoNeverMarker

Associated types for time zone formatting. Read more
§

type LengthOption = NeoSkeletonLength

Type of the length option in the constructor.
§

type AlignmentOption = <D as DateTimeMarkers>::AlignmentOption

Type of the alignment option in the constructor.
§

type EraDisplayOption = <D as DateTimeMarkers>::EraDisplayOption

Type of the era display option in the constructor.
§

type FractionalSecondDigitsOption = NeverField

Type of the fractional seconds display option in the constructor.
§

type GluePatternV1Marker = NeverMarker<GluePatternV1<'static>>

Marker for loading the date/time glue pattern.
source§

impl<D, T> DateTimeMarkers for DateTimeCombo<D, T, NeoNeverMarker>

§

type D = D

Associated types for date formatting. Read more
§

type T = T

Associated types for time formatting. Read more
§

type Z = NeoNeverMarker

Associated types for time zone formatting. Read more
§

type LengthOption = NeoSkeletonLength

Type of the length option in the constructor.
§

type AlignmentOption = Option<Alignment>

Type of the alignment option in the constructor.
§

type EraDisplayOption = <D as DateTimeMarkers>::EraDisplayOption

Type of the era display option in the constructor.
§

type FractionalSecondDigitsOption = <T as DateTimeMarkers>::FractionalSecondDigitsOption

Type of the fractional seconds display option in the constructor.
§

type GluePatternV1Marker = GluePatternV1Marker

Marker for loading the date/time glue pattern.
source§

impl<D, T, Z> DateTimeMarkers for DateTimeCombo<D, T, Z>

§

type D = D

Associated types for date formatting. Read more
§

type T = T

Associated types for time formatting. Read more
§

type Z = Z

Associated types for time zone formatting. Read more
§

type LengthOption = NeoSkeletonLength

Type of the length option in the constructor.
§

type AlignmentOption = Option<Alignment>

Type of the alignment option in the constructor.
§

type EraDisplayOption = <D as DateTimeMarkers>::EraDisplayOption

Type of the era display option in the constructor.
§

type FractionalSecondDigitsOption = <T as DateTimeMarkers>::FractionalSecondDigitsOption

Type of the fractional seconds display option in the constructor.
§

type GluePatternV1Marker = GluePatternV1Marker

Marker for loading the date/time glue pattern.
source§

impl<Z> DateTimeMarkers for DateTimeCombo<NeoNeverMarker, NeoNeverMarker, Z>
where Z: DateTimeMarkers,

§

type D = NeoNeverMarker

Associated types for date formatting. Read more
§

type T = NeoNeverMarker

Associated types for time formatting. Read more
§

type Z = Z

Associated types for time zone formatting. Read more
§

type LengthOption = <Z as DateTimeMarkers>::LengthOption

Type of the length option in the constructor.
§

type AlignmentOption = <Z as DateTimeMarkers>::AlignmentOption

Type of the alignment option in the constructor.
§

type EraDisplayOption = NeverField

Type of the era display option in the constructor.
§

type FractionalSecondDigitsOption = NeverField

Type of the fractional seconds display option in the constructor.
§

type GluePatternV1Marker = GluePatternV1Marker

Marker for loading the date/time glue pattern.
source§

impl<T> DateTimeMarkers for DateTimeCombo<NeoNeverMarker, T, NeoNeverMarker>
where T: DateTimeMarkers,

§

type D = NeoNeverMarker

Associated types for date formatting. Read more
§

type T = T

Associated types for time formatting. Read more
§

type Z = NeoNeverMarker

Associated types for time zone formatting. Read more
§

type LengthOption = NeoSkeletonLength

Type of the length option in the constructor.
§

type AlignmentOption = Option<Alignment>

Type of the alignment option in the constructor.
§

type EraDisplayOption = NeverField

Type of the era display option in the constructor.
§

type FractionalSecondDigitsOption = <T as DateTimeMarkers>::FractionalSecondDigitsOption

Type of the fractional seconds display option in the constructor.
§

type GluePatternV1Marker = NeverMarker<GluePatternV1<'static>>

Marker for loading the date/time glue pattern.
source§

impl<D: Debug, T: Debug, Z: Debug> Debug for DateTimeCombo<D, T, Z>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> HasConstComponents for DateTimeCombo<D, NeoNeverMarker, NeoNeverMarker>

source§

const COMPONENTS: NeoComponents = _

The associated components.
source§

impl<D, T> HasConstComponents for DateTimeCombo<D, T, NeoNeverMarker>

source§

const COMPONENTS: NeoComponents = _

The associated components.
source§

impl<D, T, Z> HasConstComponents for DateTimeCombo<D, T, Z>

source§

const COMPONENTS: NeoComponents = _

The associated components.
source§

impl<Z> HasConstComponents for DateTimeCombo<NeoNeverMarker, NeoNeverMarker, Z>

source§

const COMPONENTS: NeoComponents = _

The associated components.
source§

impl<T> HasConstComponents for DateTimeCombo<NeoNeverMarker, T, NeoNeverMarker>

source§

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>
where D: Send, T: Send, Z: Send,

§

impl<D, T, Z> Sync for DateTimeCombo<D, T, Z>
where D: Sync, T: Sync, Z: Sync,

§

impl<D, T, Z> Unpin for DateTimeCombo<D, T, Z>
where D: Unpin, T: Unpin, Z: Unpin,

§

impl<D, T, Z> UnwindSafe for DateTimeCombo<D, T, Z>
where D: UnwindSafe, T: UnwindSafe, Z: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T
where T: Send + Sync,