[][src]Trait frame_support::traits::Contains

pub trait Contains<T: Ord> {
    fn sorted_members() -> Vec<T>

Notable traits for Vec<u8>

impl Write for Vec<u8>
; fn contains(t: &T) -> bool { ... }
fn count() -> usize { ... } }

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

Required methods

fn sorted_members() -> Vec<T>

Notable traits for Vec<u8>

impl Write for Vec<u8>

Get a vector of all members in the set, ordered.

Loading content...

Provided methods

fn contains(t: &T) -> bool

Return true if this "contains" the given value t.

fn count() -> usize

Get the number of items in the set.

Loading content...

Implementors

Loading content...