Struct syntax::ast::AngleBracketedArgs [−][src]
pub struct AngleBracketedArgs { pub span: Span, pub args: Vec<GenericArg>, pub bindings: Vec<TypeBinding>, }
A path like Foo<'a, T>
Fields
span: Span
Overall span
args: Vec<GenericArg>
The arguments for this path segment.
bindings: Vec<TypeBinding>
Bindings (equality constraints) on associated types, if present.
E.g., Foo<A=Bar>
.
Trait Implementations
impl Clone for AngleBracketedArgs
[src]
impl Clone for AngleBracketedArgs
fn clone(&self) -> AngleBracketedArgs
[src]
fn clone(&self) -> AngleBracketedArgs
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 AngleBracketedArgs
[src]
impl PartialEq for AngleBracketedArgs
fn eq(&self, other: &AngleBracketedArgs) -> bool
[src]
fn eq(&self, other: &AngleBracketedArgs) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AngleBracketedArgs) -> bool
[src]
fn ne(&self, other: &AngleBracketedArgs) -> bool
This method tests for !=
.
impl Eq for AngleBracketedArgs
[src]
impl Eq for AngleBracketedArgs
impl Encodable for AngleBracketedArgs
[src]
impl Encodable for AngleBracketedArgs
impl Decodable for AngleBracketedArgs
[src]
impl Decodable for AngleBracketedArgs
impl Hash for AngleBracketedArgs
[src]
impl Hash for AngleBracketedArgs
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 AngleBracketedArgs
[src]
impl Debug for AngleBracketedArgs
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 AngleBracketedArgs
[src]
impl Default for AngleBracketedArgs
fn default() -> AngleBracketedArgs
[src]
fn default() -> AngleBracketedArgs
Returns the "default value" for a type. Read more
impl Into<Option<P<GenericArgs>>> for AngleBracketedArgs
[src]
impl Into<Option<P<GenericArgs>>> for AngleBracketedArgs
fn into(self) -> Option<P<GenericArgs>>
[src]
fn into(self) -> Option<P<GenericArgs>>
Performs the conversion.
Auto Trait Implementations
impl !Send for AngleBracketedArgs
impl !Send for AngleBracketedArgs
impl !Sync for AngleBracketedArgs
impl !Sync for AngleBracketedArgs