Trait frame_support::traits::Contains
source · [−]pub trait Contains<T: Ord> {
fn sorted_members() -> Vec<T>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
fn contains(t: &T) -> bool { ... }
fn count() -> usize { ... }
fn add(_t: &T) { ... }
}
Expand description
A trait for querying whether a type can be said to “contain” a value.