Struct racer::core::Path [] [src]

pub struct Path {
    pub global: bool,
    pub segments: Vec<PathSegment>,
}

Fields

global: bool segments: Vec<PathSegment>

Methods

impl Path
[src]

fn generic_types(&self) -> Iter<Path>

fn from_vec(global: bool, v: Vec<&str>) -> Path

fn from_svec(global: bool, v: Vec<String>) -> Path

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 Debug for Path
[src]

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

Formats the value using the given formatter.

impl Display for Path
[src]

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

Formats the value using the given formatter.