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

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

Fields

bound_lifetimes

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

trait_ref

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

span

Trait Implementations

Derived Implementations

impl Debug for PolyTraitRef

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

impl Hash for PolyTraitRef

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

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

impl Decodable for PolyTraitRef

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

impl Encodable for PolyTraitRef

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

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)