hashset

Macro hashset 

Source
pub macro hashset {
    ($($value:expr,)+) => { ... },
    ($($value:expr),*) => { ... },
}
Expand description

Creates a HashSet object from a list of values.

ยงExample

use rialight::util::hashset;
assert!(hashset!{"foo"}.contains("foo"));