std_ext

Trait OptionVecExt

source
pub trait OptionVecExt<T> {
    // Required methods
    fn first(&self) -> Option<&T>;
    fn is_empty(&self) -> bool;
}

Required Methods§

source

fn first(&self) -> Option<&T>

source

fn is_empty(&self) -> bool

Implementations on Foreign Types§

source§

impl<T> OptionVecExt<T> for Option<Vec<T>>

source§

fn first(&self) -> Option<&T>

source§

fn is_empty(&self) -> bool

Implementors§