Enum syntex_syntax::ast::ViewPath_ [] [src]

pub enum ViewPath_ {
    ViewPathSimple(Ident, Path),
    ViewPathGlob(Path),
    ViewPathList(Path, Vec<PathListItem>),
}

Variants

ViewPathSimple

foo::bar::baz as quux

or just

foo::bar::baz (with as baz implicitly on the right)

ViewPathGlob

foo::bar::*

ViewPathList

foo::bar::{a,b,c}

Trait Implementations

Derived Implementations

impl Debug for ViewPath_

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

impl Hash for ViewPath_

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for ViewPath_

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ViewPath_, __D::Error>

impl Encodable for ViewPath_

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Eq for ViewPath_

impl PartialEq for ViewPath_

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

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

impl Clone for ViewPath_

fn clone(&self) -> ViewPath_

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