[][src]Struct syn::PolyTraitRef

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

Fields

bound_lifetimes: Vec<LifetimeDef>

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

trait_ref: Path

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

Trait Implementations

impl Clone for PolyTraitRef[src]

impl Eq for PolyTraitRef[src]

impl PartialEq<PolyTraitRef> for PolyTraitRef[src]

impl Debug for PolyTraitRef[src]

impl Hash for PolyTraitRef[src]

impl StructuralPartialEq for PolyTraitRef[src]

impl StructuralEq for PolyTraitRef[src]

impl ToTokens for PolyTraitRef[src]

Auto Trait Implementations

impl Send for PolyTraitRef

impl Sync for PolyTraitRef

impl Unpin for PolyTraitRef

impl UnwindSafe for PolyTraitRef

impl RefUnwindSafe for PolyTraitRef

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]