Function icu_datetime::calendar::load_lengths_for_any_calendar_kind
source ยท pub(crate) fn load_lengths_for_any_calendar_kind<P>(
provider: &P,
locale: &DataLocale,
kind: AnyCalendarKind,
) -> Result<DataPayload<ErasedDateLengthsV1Marker>, DataError>where
P: DataProvider<BuddhistDateLengthsV1Marker> + DataProvider<ChineseDateLengthsV1Marker> + DataProvider<CopticDateLengthsV1Marker> + DataProvider<DangiDateLengthsV1Marker> + DataProvider<EthiopianDateLengthsV1Marker> + DataProvider<GregorianDateLengthsV1Marker> + DataProvider<HebrewDateLengthsV1Marker> + DataProvider<IndianDateLengthsV1Marker> + DataProvider<IslamicDateLengthsV1Marker> + DataProvider<JapaneseDateLengthsV1Marker> + DataProvider<JapaneseExtendedDateLengthsV1Marker> + DataProvider<PersianDateLengthsV1Marker> + DataProvider<RocDateLengthsV1Marker> + ?Sized,