OptionVecExt

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§