Enum syntax::ast_map::PathElemUnstable [-] [+] [src]

pub enum PathElem {
    PathMod(Name),
    PathName(Name),
}

Variants

PathMod
PathName

Methods

impl PathElem

fn name(&self) -> Name

Trait Implementations

impl Display for PathElem

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

Derived Implementations

impl Debug for PathElem

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

impl PartialEq for PathElem

fn eq(&self, __arg_0: &PathElem) -> bool

fn ne(&self, __arg_0: &PathElem) -> bool

impl Copy for PathElem

impl Clone for PathElem

fn clone(&self) -> PathElem

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