Enum rustdoc::clean::GenericBound[][src]

pub enum GenericBound {
    TraitBound(PolyTraitTraitBoundModifier),
    Outlives(Lifetime),
}

Variants

Methods

impl GenericBound
[src]

Trait Implementations

impl Clone for GenericBound
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Debug for GenericBound
[src]

Formats the value using the given formatter. Read more

impl Hash for GenericBound
[src]

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

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

impl Clean<GenericBound> for GenericBound
[src]

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

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

impl From<GenericBound> for SimpleBound
[src]

Performs the conversion.

impl Display for GenericBound
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for GenericBound

impl !Sync for GenericBound