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

pub enum PathListItem_ {
    PathListIdent {
        name: Ident,
        id: NodeId,
    },
    PathListMod {
        id: NodeId,
    },
}

Variants

PathListIdent

Fields

name
id
PathListMod

Fields

id

Methods

impl PathListItem_

fn id(&self) -> NodeId

Trait Implementations

Derived Implementations

impl Copy for PathListItem_

impl Debug for PathListItem_

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

impl Hash for PathListItem_

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

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

impl Decodable for PathListItem_

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

impl Encodable for PathListItem_

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

impl Eq for PathListItem_

fn assert_receiver_is_total_eq(&self)

impl PartialEq for PathListItem_

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

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

impl Clone for PathListItem_

fn clone(&self) -> PathListItem_

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