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

pub enum InlinedItem {
    IIItem(P<Item>),
    IITraitItem(DefId, TraitItem),
    IIImplItem(DefId, ImplItem),
    IIForeign(P<ForeignItem>),
}

The data we save and restore about an inlined item or method. This is not part of the AST that we parse from a file, but it becomes part of the tree that we trans.

Variants

IIItem
IITraitItem
IIImplItem
IIForeign

Trait Implementations

Derived Implementations

impl Debug for InlinedItem

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

impl Hash for InlinedItem

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

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

impl Decodable for InlinedItem

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

impl Encodable for InlinedItem

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

impl Eq for InlinedItem

fn assert_receiver_is_total_eq(&self)

impl PartialEq for InlinedItem

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

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

impl Clone for InlinedItem

fn clone(&self) -> InlinedItem

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