Trait frame_support::traits::Contains [−][src]
A trait for querying whether a type can be said to “contain” a value.
Required methods
fn sorted_members() -> Vec<T>ⓘ
[src]
Get a vector of all members in the set, ordered.
Provided methods
fn contains(t: &T) -> bool
[src]
Return true
if this “contains” the given value t
.
fn count() -> usize
[src]
Get the number of items in the set.