Trait nv_card::Collection
[−]
[src]
pub trait Collection { type Item; fn size(&self) -> usize; fn is_empty(&self) -> bool { ... } }
trait to impl for any type that represents a collection of items
Associated Types
type Item
Item Type of collection
Required Methods
Provided Methods
Implementors
impl<T> Collection for Vec<T>
impl<T> Collection for DuplicatesAllowedDeck<T>
impl<T> Collection for NoDuplicatesDeck<T> where
T: PartialEq,