Trait IntoOptionGetter
pub trait IntoOptionGetter<T, M> {
// Required method
fn into_option_getter(self) -> OptionGetter<T>;
}Expand description
Conversion trait for creating an OptionGetter from a closure or a signal.
Required Methods§
fn into_option_getter(self) -> OptionGetter<T>
fn into_option_getter(self) -> OptionGetter<T>
Converts the given value into an OptionGetter.
Implementations on Foreign Types§
§impl<T> IntoOptionGetter<T, StaticMarker> for Option<T>
impl<T> IntoOptionGetter<T, StaticMarker> for Option<T>
fn into_option_getter(self) -> OptionGetter<T>
Implementors§
impl<T, F> IntoOptionGetter<T, FunctionMarker> for F
impl<T, S> IntoOptionGetter<T, SignalMarker> for S
Available on not (crate feature
nightly and rustc_nightly).