Trait signal_processing::Lists
source · pub trait Lists<T>: MaybeLists<T> + Container<T> {
// Required methods
fn as_views<'a>(&'a self) -> Vec<Self::RowView<'a>>
where T: 'a,
Self: 'a;
fn as_view_slices<'a>(&'a self) -> Vec<&'a [T]>
where T: 'a,
Self: 'a;
fn height(&self) -> usize;
fn resize_to_owned<F>(
self,
size: (<Self::Height as StaticMaybe<usize>>::Opposite, <Self::Width as StaticMaybe<usize>>::Opposite),
fill: F
) -> Self::Owned
where T: Clone,
Self: Sized,
F: FnMut() -> T,
<Self::Height as StaticMaybe<usize>>::Opposite: Sized,
<Self::Width as StaticMaybe<usize>>::Opposite: Sized;
fn to_vecs(&self) -> Vec<Vec<T>>
where T: Clone;
fn into_vecs(self) -> Vec<Vec<T>>
where Self: Sized,
T: Clone;
}
Required Methods§
fn as_views<'a>(&'a self) -> Vec<Self::RowView<'a>>where
T: 'a,
Self: 'a,
fn as_view_slices<'a>(&'a self) -> Vec<&'a [T]>where
T: 'a,
Self: 'a,
fn height(&self) -> usize
fn resize_to_owned<F>( self, size: (<Self::Height as StaticMaybe<usize>>::Opposite, <Self::Width as StaticMaybe<usize>>::Opposite), fill: F ) -> Self::Owned
fn to_vecs(&self) -> Vec<Vec<T>>where
T: Clone,
fn into_vecs(self) -> Vec<Vec<T>>
Object Safety§
This trait is not object safe.