[][src]Trait literal::SetLiteral

pub trait SetLiteral<Item>: Sized {
    fn new() -> Self;
fn insert(m: &mut Self, item: Item); fn with_capacity(_n: usize) -> Self { ... } }

Interface between set literals and set data types.

Required methods

fn new() -> Self

fn insert(m: &mut Self, item: Item)

Loading content...

Provided methods

fn with_capacity(_n: usize) -> Self

Loading content...

Implementations on Foreign Types

impl<Item> SetLiteral<Item> for HashSet<Item> where
    Item: Eq + Hash
[src]

impl<Item> SetLiteral<Item> for BTreeSet<Item> where
    Item: Ord
[src]

Loading content...

Implementors

Loading content...