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

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

Minimum number of elements contained

fn max_len() -> usize

Maximum number of elements contained

Loading content...

Implementors

Loading content...