Enum rustdoc::clean::TyParamBound[][src]

pub enum TyParamBound {
    RegionBound(Lifetime),
    TraitBound(PolyTraitTraitBoundModifier),
}

Variants

Methods

impl TyParamBound
[src]

Trait Implementations

impl Clone for TyParamBound
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Debug for TyParamBound
[src]

Formats the value using the given formatter. Read more

impl Hash for TyParamBound
[src]

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

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

impl Clean<TyParamBound> for TyParamBound
[src]

impl<'a, 'tcx> Clean<TyParamBound> for (&'a TraitRef<'tcx>, Vec<TypeBinding>)
[src]

impl<'tcx> Clean<TyParamBound> for TraitRef<'tcx>
[src]

impl From<TyParamBound> for SimpleBound
[src]

Performs the conversion.

impl Display for TyParamBound
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for TyParamBound

impl !Sync for TyParamBound