Enum rustdoc::clean::GenericParamDefKind[][src]

pub enum GenericParamDefKind {
    Lifetime,
    Type {
        did: DefId,
        bounds: Vec<GenericBound>,
        default: Option<Type>,
        synthetic: Option<SyntheticTyParamKind>,
    },
}

Variants

Fields of Type

Trait Implementations

impl Clone for GenericParamDefKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for GenericParamDefKind
[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 GenericParamDefKind
[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 PartialEq for GenericParamDefKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for GenericParamDefKind
[src]

impl Debug for GenericParamDefKind
[src]

Formats the value using the given formatter. Read more

impl Hash for GenericParamDefKind
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl !Send for GenericParamDefKind

impl !Sync for GenericParamDefKind