Type Alias BracketedList

Source
pub type BracketedList<T> = Bracketed<List<T>>;
Expand description

A list holding list items of type T that must be surrounded by brackets.

Aliased Type§

pub struct BracketedList<T> {
    pub opening_bracket: Token,
    pub item: List<T>,
    pub closing_bracket: Token,
}

Fields§

§opening_bracket: Token

The opening bracket.

§item: List<T>

The actual item

§closing_bracket: Token

The closing bracket.