Struct syntex_syntax::ast::PolyTraitRef [] [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, __D::Error>

impl Encodable for PolyTraitRef

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

impl Eq for PolyTraitRef

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)