Struct syntax::ast::PolyTraitRef[][src]

pub struct PolyTraitRef {
    pub bound_generic_params: Vec<GenericParam>,
    pub trait_ref: TraitRef,
    pub span: Span,
}

Fields

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

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

Methods

impl PolyTraitRef
[src]

Trait Implementations

impl Clone for PolyTraitRef
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for PolyTraitRef
[src]

impl Decodable for PolyTraitRef
[src]

impl Debug for PolyTraitRef
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for PolyTraitRef

impl !Sync for PolyTraitRef