Repeats

Type Alias Repeats 

Source
pub type Repeats<const MIN: usize, const MAX: usize, T, D = Nothing, P = Optional> = DelimitedVec<T, D, P, MIN, MAX>;
Expand description

DelimitedVec<T,D> with a minimum and maximum (inclusive) number of elements at first without defaults. Parsing will succeed when at least the minimum number of elements is reached and stop at the maximum number. The delimiter D defaults to Nothing to parse sequences which don’t have delimiters.

Aliased Type§

pub struct Repeats<const MIN: usize, const MAX: usize, T, D = Nothing, P = Optional>(/* private fields */);