Trait VecExtensions

Source
pub trait VecExtensions {
    // Required methods
    fn flip(&self, width: usize) -> Self;
    fn flip_inplace(&mut self, width: usize);
}

Required Methods§

Source

fn flip(&self, width: usize) -> Self

Source

fn flip_inplace(&mut self, width: usize)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> VecExtensions for Vec<T>
where T: Clone,