Bounds

Type Alias Bounds 

Source
pub type Bounds = Cons<Colon, VerbatimUntil<Either<Comma, Eq, Gt>>>;
Expand description

Represents type bounds, consisting of a colon followed by tokens until a comma, equals sign, or closing angle bracket is encountered.

Aliased Type§

pub struct Bounds {
    pub first: Operator<':'>,
    pub second: DelimitedVec<Cons<Except<Either<Operator<','>, Operator<'='>, Operator<'>'>>>, AngleTokenTree>, Nothing, Optional, 1, usize::MAX>,
    pub third: Nothing,
    pub fourth: Nothing,
}

Fields§

§first: Operator<':'>

The first value

§second: DelimitedVec<Cons<Except<Either<Operator<','>, Operator<'='>, Operator<'>'>>>, AngleTokenTree>, Nothing, Optional, 1, usize::MAX>

The second value

§third: Nothing

The third value

§fourth: Nothing

The fourth value