n0_watcher

Trait Nullable

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

Abstracts over Option<T> and Vec<T>

Required Methods§

Source

fn into_option(self) -> Option<T>

Converts this value into an Option.

Implementations on Foreign Types§

Source§

impl<T> Nullable<T> for Option<T>

Source§

impl<T> Nullable<T> for Vec<T>

Implementors§