OptionalTranspose

Trait OptionalTranspose 

Source
pub trait OptionalTranspose {
    type Output;
    type Fill;

    // Required method
    fn transpose(self, fill: Self::Fill) -> Self::Output
       where Self: Sized;
}

Required Associated Types§

Required Methods§

Source

fn transpose(self, fill: Self::Fill) -> Self::Output
where Self: Sized,

self: Option<_>

Implementations on Foreign Types§

Source§

impl<T: Clone> OptionalTranspose for Option<Vec<T>>

Source§

type Output = Vec<Option<T>>

Source§

type Fill = usize

Source§

fn transpose(self, fill: Self::Fill) -> Self::Output
where Self: Sized,

Implementors§