Trait icu_datetime::neo_marker::IsAnyCalendarKind
source · pub trait IsAnyCalendarKind {
// Required method
fn is_any_calendar_kind(&self, any_calendar_kind: AnyCalendarKind) -> bool;
}
Expand description
A type that might be compatible with a specific calendar system.
All formattable types should implement this trait.
Required Methods§
sourcefn is_any_calendar_kind(&self, any_calendar_kind: AnyCalendarKind) -> bool
fn is_any_calendar_kind(&self, any_calendar_kind: AnyCalendarKind) -> bool
Whether this type is compatible with the given calendar.
Types that are agnostic to calendar systems should return true
.