ModPath

Type Alias ModPath 

Source
pub type ModPath = Cons<Option<PathSep>, PathSepDelimited<Ident>>;
Expand description

Represents a module path, consisting of an optional path separator followed by a path-separator-delimited sequence of identifiers.

Aliased Type§

pub struct ModPath {
    pub first: Option<Operator<':', ':'>>,
    pub second: Delimited<Ident, Operator<':', ':'>>,
    pub third: Nothing,
    pub fourth: Nothing,
}

Fields§

§first: Option<Operator<':', ':'>>

The first value

§second: Delimited<Ident, Operator<':', ':'>>

The second value

§third: Nothing

The third value

§fourth: Nothing

The fourth value