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§