Struct syn::PolyTraitRef [−][src]
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 ToTokens for PolyTraitRef[src]
impl ToTokens for PolyTraitRefimpl Debug for PolyTraitRef[src]
impl Debug for PolyTraitReffn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for PolyTraitRef[src]
impl Clone for PolyTraitReffn clone(&self) -> PolyTraitRef[src]
fn clone(&self) -> PolyTraitRefReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Eq for PolyTraitRef[src]
impl Eq for PolyTraitRefimpl PartialEq for PolyTraitRef[src]
impl PartialEq for PolyTraitReffn eq(&self, other: &PolyTraitRef) -> bool[src]
fn eq(&self, other: &PolyTraitRef) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &PolyTraitRef) -> bool[src]
fn ne(&self, other: &PolyTraitRef) -> boolThis method tests for !=.
impl Hash for PolyTraitRef[src]
impl Hash for PolyTraitRefAuto Trait Implementations
impl Send for PolyTraitRef
impl Send for PolyTraitRefimpl Sync for PolyTraitRef
impl Sync for PolyTraitRef