Enum rustc_typeck::middle::cstore::InlinedItemRef   
                   
                       [−]
                   
               [src]
pub enum InlinedItemRef<'a> {
    Item(&'a Item),
    TraitItem(DefId, &'a TraitItem),
    ImplItem(DefId, &'a ImplItem),
    Foreign(&'a ForeignItem),
}Unstable (
rustc_private)A borrowed version of hir::InlinedItem.
Variants
Item(&'a Item)Unstable (
rustc_private)TraitItem(DefId, &'a TraitItem)Unstable (
rustc_private)ImplItem(DefId, &'a ImplItem)Unstable (
rustc_private)Foreign(&'a ForeignItem)Unstable (
rustc_private)Trait Implementations
Derived Implementations
impl<'a> Debug for InlinedItemRef<'a>
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<'a> Hash for InlinedItemRef<'a>
fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl<'a> Eq for InlinedItemRef<'a>
impl<'a> PartialEq<InlinedItemRef<'a>> for InlinedItemRef<'a>
fn eq(&self, __arg_0: &InlinedItemRef<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &InlinedItemRef<'a>) -> bool
This method tests for !=.
impl<'a> Copy for InlinedItemRef<'a>
impl<'a> Clone for InlinedItemRef<'a>
fn clone(&self) -> InlinedItemRef<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more