Enum rustdoc::clean::WherePredicate[][src]

pub enum WherePredicate {
    BoundPredicate {
        ty: Type,
        bounds: Vec<GenericBound>,
    },
    RegionPredicate {
        lifetime: Lifetime,
        bounds: Vec<GenericBound>,
    },
    EqPredicate {
        lhs: Type,
        rhs: Type,
    },
}

Variants

Fields of BoundPredicate

Fields of RegionPredicate

Fields of EqPredicate

Trait Implementations

impl Clone for WherePredicate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Debug for WherePredicate
[src]

Formats the value using the given formatter. Read more

impl Hash for WherePredicate
[src]

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

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

impl Clean<WherePredicate> for WherePredicate
[src]

impl<'a> Clean<WherePredicate> for Predicate<'a>
[src]

impl<'a> Clean<WherePredicate> for TraitPredicate<'a>
[src]

impl<'tcx> Clean<WherePredicate> for SubtypePredicate<'tcx>
[src]

impl<'tcx> Clean<WherePredicate> for OutlivesPredicate<Region<'tcx>, Region<'tcx>>
[src]

impl<'tcx> Clean<WherePredicate> for OutlivesPredicate<Ty<'tcx>, Region<'tcx>>
[src]

impl<'tcx> Clean<WherePredicate> for ProjectionPredicate<'tcx>
[src]

Auto Trait Implementations

impl !Send for WherePredicate

impl !Sync for WherePredicate