Trait frame_support::traits::ContainsLengthBound

source ·
pub trait ContainsLengthBound {
    // Required methods
    fn min_len() -> usize;
    fn max_len() -> usize;
}
Expand description

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

Required Methods§

source

fn min_len() -> usize

Minimum number of elements contained

source

fn max_len() -> usize

Maximum number of elements contained

Object Safety§

This trait is not object safe.

Implementors§