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 PartialEq for PolyTraitRef
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PolyTraitRef
[src]

impl Encodable for PolyTraitRef
[src]

impl Decodable for PolyTraitRef
[src]

impl Hash for PolyTraitRef
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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