Enum syntax::ast::GenericArgs[][src]

pub enum GenericArgs {
    AngleBracketed(AngleBracketedArgs),
    Parenthesized(ParenthesisedArgs),
}
🔬 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?

Arguments of a path segment.

E.g. <A, B> as in Foo<A, B> or (A, B) as in Foo(A, B)

Variants

🔬 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 <'a, A,B,C> in foo::bar::baz::<'a, A,B,C>

🔬 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 (A,B) and C in Foo(A,B) -> C

Methods

impl GenericArgs
[src]

🔬 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?

Trait Implementations

impl Clone for GenericArgs
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for GenericArgs
[src]

🔬 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 GenericArgs
[src]

🔬 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 Debug for GenericArgs
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for GenericArgs

impl !Sync for GenericArgs