Trait icu_timezone::scaffold::IntoOption

source ·
pub trait IntoOption<T> {
    // Required method
    fn into_option(self) -> Option<T>;
}
Expand description

Converts Self to an Option<T>, either Some(T) if able or None

Required Methods§

source

fn into_option(self) -> Option<T>

Return self as an Option<T>

Implementations on Foreign Types§

source§

impl IntoOption<(Date<Iso>, Time)> for (Date<Iso>, Time)

source§

fn into_option(self) -> Option<Self>

source§

impl IntoOption<AnyCalendarKind> for AnyCalendarKind

source§

fn into_option(self) -> Option<Self>

source§

impl IntoOption<DayOfMonth> for DayOfMonth

source§

fn into_option(self) -> Option<Self>

source§

impl IntoOption<DayOfYearInfo> for DayOfYearInfo

source§

fn into_option(self) -> Option<Self>

source§

impl IntoOption<IsoHour> for IsoHour

source§

fn into_option(self) -> Option<Self>

source§

impl IntoOption<IsoMinute> for IsoMinute

source§

fn into_option(self) -> Option<Self>

source§

impl IntoOption<IsoSecond> for IsoSecond

source§

fn into_option(self) -> Option<Self>

source§

impl IntoOption<IsoWeekday> for IsoWeekday

source§

fn into_option(self) -> Option<Self>

source§

impl IntoOption<MonthInfo> for MonthInfo

source§

fn into_option(self) -> Option<Self>

source§

impl IntoOption<NanoSecond> for NanoSecond

source§

fn into_option(self) -> Option<Self>

source§

impl IntoOption<YearInfo> for YearInfo

source§

fn into_option(self) -> Option<Self>

source§

impl<T> IntoOption<T> for Option<T>

source§

impl<T> IntoOption<T> for ()

Implementors§