Enum rustc_metadata::encoder::XRef [] [src]

pub enum XRef<'tcx> {
    Predicate(Predicate<'tcx>),
}
Unstable (rustc_private)

"interned" entries referenced by id

Variants

Predicate(Predicate<'tcx>)
Unstable (rustc_private)

Trait Implementations

Derived Implementations

impl<'tcx> Hash for XRef<'tcx>
[src]

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

Feeds this value into the state given, updating the hasher as necessary.

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

Feeds a slice of this type into the state provided.

impl<'tcx> Eq for XRef<'tcx>
[src]

impl<'tcx> PartialEq for XRef<'tcx>
[src]

fn eq(&self, __arg_0: &XRef<'tcx>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &XRef<'tcx>) -> bool

This method tests for !=.