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

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 { ... } }

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, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

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

Loading content...

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.

Loading content...

Implementors

Loading content...