Enum syntax::ast::ViewPath_Experimental [-]  [+] [src]

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

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 Show for ViewPath_

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

impl<__S: Writer> Hash<__S> for ViewPath_

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for ViewPath_

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for ViewPath_

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

impl Eq for ViewPath_

fn assert_receiver_is_total_eq(&self)

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)