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

Implementors§