pubusestd::hash::Hash;// --------------------------------------------------------------------------------
// Filter
/// A `Filter` provides duplicate detection capabilities
pubtraitFilter{/// Performs a lookup for the provided element
fnlookup(&self, e: impl Hash)->bool;/// Performs a lookup for the provided element and inserts it
fninsert(&mutself, e: impl Hash)->bool;}