Trait Sliceable

Source
pub trait Sliceable<T>: AsMut<[T]> + AsRef<[T]> { }
Expand description

Interface for any slice compatible with a non thread-safe SlicePool.

Implementors§

Source§

impl<T, V> Sliceable<T> for V
where V: AsRef<[T]> + AsMut<[T]>,

Implements the trait for vectors and similar types.