Trait Sliceable

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

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

Implementors§

Source§

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

Implements the trait for vectors and similar types.