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§

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

source§

impl<T> IntoOption<T> for ()

Implementors§