Struct syntax::ast::DefIdExperimental [-]  [+] [src]

pub struct DefId {
    pub krate: CrateNum,
    pub node: NodeId,
}

Fields

krate
node

Trait Implementations

Derived Implementations

impl Copy for DefId

impl Show for DefId

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

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

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

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

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

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

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

impl PartialEq for DefId

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

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

impl PartialOrd for DefId

fn partial_cmp(&self, __arg_0: &DefId) -> Option<Ordering>

fn lt(&self, __arg_0: &DefId) -> bool

fn le(&self, __arg_0: &DefId) -> bool

fn gt(&self, __arg_0: &DefId) -> bool

fn ge(&self, __arg_0: &DefId) -> bool

impl Ord for DefId

fn cmp(&self, __arg_0: &DefId) -> Ordering

impl Eq for DefId

fn assert_receiver_is_total_eq(&self)

impl Clone for DefId

fn clone(&self) -> DefId

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