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

pub struct PolyTraitRef {
    pub bound_lifetimes: Vec<LifetimeDef>,
    pub trait_ref: TraitRef,
}

Fields

bound_lifetimes

The 'a in <'a> Foo<&'a T>

trait_ref

The Foo<&'a T> in <'a> Foo<&'a T>

Trait Implementations

Derived Implementations

impl Show for PolyTraitRef

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

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

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

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

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

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

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

impl Eq for PolyTraitRef

fn assert_receiver_is_total_eq(&self)

impl PartialEq for PolyTraitRef

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

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

impl Clone for PolyTraitRef

fn clone(&self) -> PolyTraitRef

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