Struct syntax::ast::AngleBracketedParameterData [−][src]
pub struct AngleBracketedParameterData { pub span: Span, pub lifetimes: Vec<Lifetime>, pub types: Vec<P<Ty>>, pub bindings: Vec<TypeBinding>, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
A path like Foo<'a, T>
Fields
span: Span
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Overall span
lifetimes: Vec<Lifetime>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
The lifetime parameters for this path segment.
types: Vec<P<Ty>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
The type parameters for this path segment, if present.
bindings: Vec<TypeBinding>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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)
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
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Encodable for AngleBracketedParameterData
[src]
impl Encodable for AngleBracketedParameterData
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Decodable for AngleBracketedParameterData
[src]
impl Decodable for AngleBracketedParameterData
fn decode<__D: Decoder>(
d: &mut __D
) -> Result<AngleBracketedParameterData, __D::Error>
[src]
fn decode<__D: Decoder>(
d: &mut __D
) -> Result<AngleBracketedParameterData, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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,
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