Enum rustc::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>[src]
impl<'a> Hash for InlinedItemRef<'a>[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: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl<'a> Eq for InlinedItemRef<'a>[src]
impl<'a> PartialEq for InlinedItemRef<'a>[src]
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>[src]
impl<'a> Clone for InlinedItemRef<'a>[src]
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