Trait frame_support::traits::ContainsLengthBound[][src]

pub trait ContainsLengthBound {
    fn min_len() -> usize;
fn max_len() -> usize; }

A trait for querying bound for the length of an implementation of Contains

Required methods

fn min_len() -> usize[src]

Minimum number of elements contained

fn max_len() -> usize[src]

Maximum number of elements contained

Loading content...

Implementors

Loading content...