Struct syntax::ast::AngleBracketedParameterData [−][src]
pub struct AngleBracketedParameterData { pub span: Span, pub lifetimes: Vec<Lifetime>, pub types: Vec<P<Ty>>, pub bindings: Vec<TypeBinding>, }
A path like Foo<'a, T>
Fields
span: Span
Overall span
lifetimes: Vec<Lifetime>
The lifetime parameters for this path segment.
types: Vec<P<Ty>>
The type parameters for this path segment, if present.
bindings: Vec<TypeBinding>
Bindings (equality constraints) on associated types, if present.
E.g., Foo<A=Bar>
.
Trait Implementations
impl Clone for AngleBracketedParameterData
[src]
impl Clone for AngleBracketedParameterData
fn clone(&self) -> AngleBracketedParameterData
[src]
fn clone(&self) -> AngleBracketedParameterData
Returns 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 PartialEq for AngleBracketedParameterData
[src]
impl PartialEq for AngleBracketedParameterData
fn eq(&self, other: &AngleBracketedParameterData) -> bool
[src]
fn eq(&self, other: &AngleBracketedParameterData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AngleBracketedParameterData) -> bool
[src]
fn ne(&self, other: &AngleBracketedParameterData) -> bool
This method tests for !=
.
impl Eq for AngleBracketedParameterData
[src]
impl Eq for AngleBracketedParameterData
impl Encodable for AngleBracketedParameterData
[src]
impl Encodable for AngleBracketedParameterData
impl Decodable for AngleBracketedParameterData
[src]
impl Decodable for AngleBracketedParameterData
impl Hash for AngleBracketedParameterData
[src]
impl Hash for AngleBracketedParameterData
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for AngleBracketedParameterData
[src]
impl Debug for AngleBracketedParameterData
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for AngleBracketedParameterData
[src]
impl Default for AngleBracketedParameterData
fn default() -> AngleBracketedParameterData
[src]
fn default() -> AngleBracketedParameterData
Returns the "default value" for a type. Read more
impl Into<Option<P<PathParameters>>> for AngleBracketedParameterData
[src]
impl Into<Option<P<PathParameters>>> for AngleBracketedParameterData
fn into(self) -> Option<P<PathParameters>>
[src]
fn into(self) -> Option<P<PathParameters>>
Performs the conversion.
Auto Trait Implementations
impl !Send for AngleBracketedParameterData
impl !Send for AngleBracketedParameterData
impl !Sync for AngleBracketedParameterData
impl !Sync for AngleBracketedParameterData