Struct rustdoc::clean::TyParam[][src]

pub struct TyParam {
    pub name: String,
    pub did: DefId,
    pub bounds: Vec<TyParamBound>,
    pub default: Option<Type>,
    pub synthetic: Option<SyntheticTyParamKind>,
}

Fields

Trait Implementations

impl Clone for TyParam
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Debug for TyParam
[src]

Formats the value using the given formatter. Read more

impl Hash for TyParam
[src]

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

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

impl Clean<TyParam> for TyParam
[src]

impl<'tcx> Clean<TyParam> for GenericParamDef
[src]

Auto Trait Implementations

impl !Send for TyParam

impl !Sync for TyParam