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

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

Fields

global
segments

Methods

impl Path

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 Debug for Path

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

Derived Implementations

impl Clone for Path

fn clone(&self) -> Path

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