ModPath

Type Alias ModPath 

Source
pub type ModPath = Cons<Option<PathSep>, DelimitedVec<Ident, PathSep>>;
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: DelimitedVec<Ident, Operator<':', ':'>, Optional, 0, usize::MAX>,
    pub third: Nothing,
    pub fourth: Nothing,
}

Fields§

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

The first value

§second: DelimitedVec<Ident, Operator<':', ':'>, Optional, 0, usize::MAX>

The second value

§third: Nothing

The third value

§fourth: Nothing

The fourth value