Struct xswag_syntax_java::ast::Path [] [src]

pub struct Path {
    pub segments: Vec<Ident>,
}

Fields

segments: Vec<Ident>

Methods

impl Path
[src]

fn single(name: Ident) -> Path

fn span(&self) -> Option<Span>

Trait Implementations

impl Clone for Path
[src]

fn clone(&self) -> Path

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Add for Path
[src]

type Output = Path

The resulting type after applying the + operator

fn add(self, rhs: Path) -> Self::Output

The method for the + operator

impl Add<Ident> for Path
[src]

type Output = Path

The resulting type after applying the + operator

fn add(self, rhs: Ident) -> Self::Output

The method for the + operator

impl Debug for Path
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.