Struct icu_datetime::fieldset::Combo
source · pub struct Combo<DT, Z> { /* private fields */ }
Expand description
Struct for combining date/time fields with zone fields.
This struct produces “composite field sets” as defined in UTS 35.
This struct does not have its own constructor, but it can be produced via factory functions on the other field sets.
§Examples
Format the weekday, hour, and location-based zone:
use icu::datetime::fieldset::{Combo, ET, L};
use icu::datetime::DateTimeFormatter;
use icu::locale::locale;
use icu::timezone::IxdtfParser;
use writeable::assert_try_writeable_eq;
// Note: Combo type can be elided, but it is shown here for demonstration
let formatter = DateTimeFormatter::<Combo<ET, L>>::try_new(
&locale!("en-US").into(),
ET::short().hm().l(),
)
.unwrap();
let zdt = IxdtfParser::new().try_location_only_from_str(
"2024-10-18T15:44[America/Los_Angeles]",
)
.unwrap();
assert_try_writeable_eq!(
formatter.convert_and_format(&zdt),
"Fri, 3:44 PM Los Angeles Time"
);
Same thing with a fixed calendar formatter:
use icu::calendar::Gregorian;
use icu::datetime::fieldset::{Combo, ET, L};
use icu::datetime::FixedCalendarDateTimeFormatter;
use icu::locale::locale;
use icu::timezone::IxdtfParser;
use writeable::assert_try_writeable_eq;
// Note: Combo type can be elided, but it is shown here for demonstration
let formatter = FixedCalendarDateTimeFormatter::<_, Combo<ET, L>>::try_new(
&locale!("en-US").into(),
ET::short().hm().l(),
)
.unwrap();
let zdt = IxdtfParser::new().try_location_only_iso_from_str(
"2024-10-18T15:44[America/Los_Angeles]",
)
.unwrap()
.to_calendar(Gregorian);
assert_try_writeable_eq!(
formatter.format(&zdt),
"Fri, 3:44 PM Los Angeles Time"
);
Mix a dynamic DateFieldSet
with a static time zone:
use icu::datetime::fieldset::{Combo, YMD, Vs, dynamic::DateFieldSet};
use icu::datetime::DateTimeFormatter;
use icu::locale::locale;
use icu::timezone::IxdtfParser;
use writeable::assert_try_writeable_eq;
// Note: Combo type can be elided, but it is shown here for demonstration
let formatter = DateTimeFormatter::<Combo<DateFieldSet, Vs>>::try_new(
&locale!("en-US").into(),
DateFieldSet::YMD(YMD::long()).v(),
)
.unwrap();
let zdt = IxdtfParser::new().try_location_only_from_str(
"2024-10-18T15:44[America/Los_Angeles]",
)
.unwrap();
assert_try_writeable_eq!(
formatter.convert_and_format(&zdt),
"October 18, 2024 PT"
);
Implementations§
source§impl<Z> Combo<D, Z>
impl<Z> Combo<D, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a D skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<DT, Z>
impl<Z> Combo<DT, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a DT skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<E, Z>
impl<Z> Combo<E, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a E skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<ET, Z>
impl<Z> Combo<ET, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a ET skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<DE, Z>
impl<Z> Combo<DE, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a DE skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<DET, Z>
impl<Z> Combo<DET, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a DET skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<MD, Z>
impl<Z> Combo<MD, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a MD skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<MDT, Z>
impl<Z> Combo<MDT, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a MDT skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<MDE, Z>
impl<Z> Combo<MDE, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a MDE skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<MDET, Z>
impl<Z> Combo<MDET, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a MDET skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<YMD, Z>
impl<Z> Combo<YMD, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a YMD skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<YMDT, Z>
impl<Z> Combo<YMDT, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a YMDT skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<YMDE, Z>
impl<Z> Combo<YMDE, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a YMDE skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<YMDET, Z>
impl<Z> Combo<YMDET, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a YMDET skeleton with the given formatting length and a time zone.
source§impl<Z> Combo<T, Z>
impl<Z> Combo<T, Z>
sourcepub fn with_length(length: NeoSkeletonLength) -> Self
pub fn with_length(length: NeoSkeletonLength) -> Self
Creates a T skeleton with the given formatting length and a time zone.
Trait Implementations§
source§impl<DT, Z> DateTimeMarkers for Combo<DT, Z>where
DT: DateTimeMarkers,
Z: DateTimeMarkers,
impl<DT, Z> DateTimeMarkers for Combo<DT, Z>where
DT: DateTimeMarkers,
Z: DateTimeMarkers,
source§type GluePatternV1Marker = GluePatternV1Marker
type GluePatternV1Marker = GluePatternV1Marker
source§impl GetField<CompositeFieldSet> for Combo<D, L>
impl GetField<CompositeFieldSet> for Combo<D, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<D, O>
impl GetField<CompositeFieldSet> for Combo<D, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<D, Vs>
impl GetField<CompositeFieldSet> for Combo<D, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<D, Zs>
impl GetField<CompositeFieldSet> for Combo<D, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DE, L>
impl GetField<CompositeFieldSet> for Combo<DE, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DE, O>
impl GetField<CompositeFieldSet> for Combo<DE, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DE, Vs>
impl GetField<CompositeFieldSet> for Combo<DE, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DE, Zs>
impl GetField<CompositeFieldSet> for Combo<DE, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DET, L>
impl GetField<CompositeFieldSet> for Combo<DET, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DET, O>
impl GetField<CompositeFieldSet> for Combo<DET, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DET, Vs>
impl GetField<CompositeFieldSet> for Combo<DET, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DET, Zs>
impl GetField<CompositeFieldSet> for Combo<DET, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DT, L>
impl GetField<CompositeFieldSet> for Combo<DT, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DT, O>
impl GetField<CompositeFieldSet> for Combo<DT, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DT, Vs>
impl GetField<CompositeFieldSet> for Combo<DT, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DT, Zs>
impl GetField<CompositeFieldSet> for Combo<DT, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, L>
impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, O>
impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, Vs>
impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, Zs>
impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DateFieldSet, L>
impl GetField<CompositeFieldSet> for Combo<DateFieldSet, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DateFieldSet, O>
impl GetField<CompositeFieldSet> for Combo<DateFieldSet, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DateFieldSet, Vs>
impl GetField<CompositeFieldSet> for Combo<DateFieldSet, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<DateFieldSet, Zs>
impl GetField<CompositeFieldSet> for Combo<DateFieldSet, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<E, L>
impl GetField<CompositeFieldSet> for Combo<E, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<E, O>
impl GetField<CompositeFieldSet> for Combo<E, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<E, Vs>
impl GetField<CompositeFieldSet> for Combo<E, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<E, Zs>
impl GetField<CompositeFieldSet> for Combo<E, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<ET, L>
impl GetField<CompositeFieldSet> for Combo<ET, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<ET, O>
impl GetField<CompositeFieldSet> for Combo<ET, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<ET, Vs>
impl GetField<CompositeFieldSet> for Combo<ET, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<ET, Zs>
impl GetField<CompositeFieldSet> for Combo<ET, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MD, L>
impl GetField<CompositeFieldSet> for Combo<MD, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MD, O>
impl GetField<CompositeFieldSet> for Combo<MD, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MD, Vs>
impl GetField<CompositeFieldSet> for Combo<MD, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MD, Zs>
impl GetField<CompositeFieldSet> for Combo<MD, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDE, L>
impl GetField<CompositeFieldSet> for Combo<MDE, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDE, O>
impl GetField<CompositeFieldSet> for Combo<MDE, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDE, Vs>
impl GetField<CompositeFieldSet> for Combo<MDE, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDE, Zs>
impl GetField<CompositeFieldSet> for Combo<MDE, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDET, L>
impl GetField<CompositeFieldSet> for Combo<MDET, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDET, O>
impl GetField<CompositeFieldSet> for Combo<MDET, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDET, Vs>
impl GetField<CompositeFieldSet> for Combo<MDET, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDET, Zs>
impl GetField<CompositeFieldSet> for Combo<MDET, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDT, L>
impl GetField<CompositeFieldSet> for Combo<MDT, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDT, O>
impl GetField<CompositeFieldSet> for Combo<MDT, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDT, Vs>
impl GetField<CompositeFieldSet> for Combo<MDT, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<MDT, Zs>
impl GetField<CompositeFieldSet> for Combo<MDT, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<T, L>
impl GetField<CompositeFieldSet> for Combo<T, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<T, O>
impl GetField<CompositeFieldSet> for Combo<T, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<T, Vs>
impl GetField<CompositeFieldSet> for Combo<T, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<T, Zs>
impl GetField<CompositeFieldSet> for Combo<T, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<TimeFieldSet, L>
impl GetField<CompositeFieldSet> for Combo<TimeFieldSet, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<TimeFieldSet, O>
impl GetField<CompositeFieldSet> for Combo<TimeFieldSet, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<TimeFieldSet, Vs>
impl GetField<CompositeFieldSet> for Combo<TimeFieldSet, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<TimeFieldSet, Zs>
impl GetField<CompositeFieldSet> for Combo<TimeFieldSet, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMD, L>
impl GetField<CompositeFieldSet> for Combo<YMD, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMD, O>
impl GetField<CompositeFieldSet> for Combo<YMD, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMD, Vs>
impl GetField<CompositeFieldSet> for Combo<YMD, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMD, Zs>
impl GetField<CompositeFieldSet> for Combo<YMD, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDE, L>
impl GetField<CompositeFieldSet> for Combo<YMDE, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDE, O>
impl GetField<CompositeFieldSet> for Combo<YMDE, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDE, Vs>
impl GetField<CompositeFieldSet> for Combo<YMDE, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDE, Zs>
impl GetField<CompositeFieldSet> for Combo<YMDE, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDET, L>
impl GetField<CompositeFieldSet> for Combo<YMDET, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDET, O>
impl GetField<CompositeFieldSet> for Combo<YMDET, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDET, Vs>
impl GetField<CompositeFieldSet> for Combo<YMDET, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDET, Zs>
impl GetField<CompositeFieldSet> for Combo<YMDET, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDT, L>
impl GetField<CompositeFieldSet> for Combo<YMDT, L>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDT, O>
impl GetField<CompositeFieldSet> for Combo<YMDT, O>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDT, Vs>
impl GetField<CompositeFieldSet> for Combo<YMDT, Vs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.source§impl GetField<CompositeFieldSet> for Combo<YMDT, Zs>
impl GetField<CompositeFieldSet> for Combo<YMDT, Zs>
source§fn get_field(&self) -> CompositeFieldSet
fn get_field(&self) -> CompositeFieldSet
T
.impl<DT: Copy, Z: Copy> Copy for Combo<DT, Z>
impl<DT: Eq, Z: Eq> Eq for Combo<DT, Z>
impl<DT, Z> StructuralPartialEq for Combo<DT, Z>
impl<DT, Z> UnstableSealed for Combo<DT, Z>
Auto Trait Implementations§
impl<DT, Z> Freeze for Combo<DT, Z>where
DT: Freeze,
impl<DT, Z> RefUnwindSafe for Combo<DT, Z>where
DT: RefUnwindSafe,
Z: RefUnwindSafe,
impl<DT, Z> Send for Combo<DT, Z>
impl<DT, Z> Sync for Combo<DT, Z>
impl<DT, Z> Unpin for Combo<DT, Z>
impl<DT, Z> UnwindSafe for Combo<DT, Z>where
DT: UnwindSafe,
Z: UnwindSafe,
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
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)
clone_to_uninit
)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>
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>
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