PathSegment

Trait PathSegment 

Source
pub trait PathSegment {
    // Required methods
    fn initial_separator(&self) -> Option<TextRange>;
    fn name(&self) -> Option<SyntaxToken>;
    fn generic_arguments(&self) -> Option<AstGenericArguments>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl PathSegment for AstPathSegment

Source§

impl PathSegment for SyntaxToken

Implementors§