Trait nv_card::Sliceable
[−]
[src]
pub trait Sliceable { type Item; fn as_mut_slice(&mut self) -> &mut [Self::Item]; }
trait that converts type to mutable array. Required for default shuffle implementation
Associated Types
type Item
Required Methods
fn as_mut_slice(&mut self) -> &mut [Self::Item]
Implementors
impl<T> Sliceable for Vec<T>
impl<T> Sliceable for DuplicatesAllowedDeck<T>
impl<T> Sliceable for NoDuplicatesDeck<T> where
T: PartialEq,