pub trait Contains<T> {
    fn contains(t: &T) -> bool;
}
Expand description

A trait for querying whether a type can be said to “contain” a value.

Required methods

Return true if this “contains” the given value t.

Implementations on Foreign Types

Implementors