Struct rustdoc::clean::Generics[][src]

pub struct Generics {
    pub params: Vec<GenericParamDef>,
    pub where_predicates: Vec<WherePredicate>,
}

Fields

Trait Implementations

impl Clone for Generics
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Debug for Generics
[src]

Formats the value using the given formatter. Read more

impl Default for Generics
[src]

Returns the "default value" for a type. Read more

impl Hash for Generics
[src]

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

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

impl Clean<Generics> for Generics
[src]

impl<'a, 'tcx> Clean<Generics> for (&'a Generics, &'a GenericPredicates<'tcx>)
[src]

impl Display for Generics
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Generics

impl !Sync for Generics