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

pub enum ViewItem_ {
    ViewItemExternCrate(Ident, Option<(InternedString, StrStyle)>, NodeId),
    ViewItemUse(P<ViewPath>),
}

Variants

ViewItemExternCrate

Ident: name used to refer to this crate in the code optional (InternedString,StrStyle): if present, this is a location (containing arbitrary characters) from which to fetch the crate sources For example, extern crate whatever = "github.com/rust-lang/rust"

ViewItemUse

Trait Implementations

Derived Implementations

impl Show for ViewItem_

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

impl<__S: Writer + Hasher> Hash<__S> for ViewItem_

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

impl Decodable for ViewItem_

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

impl Encodable for ViewItem_

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

impl Eq for ViewItem_

fn assert_receiver_is_total_eq(&self)

impl PartialEq for ViewItem_

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

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

impl Clone for ViewItem_

fn clone(&self) -> ViewItem_

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