Struct rustc_typeck::hir::WhereBoundPredicate [] [src]

pub struct WhereBoundPredicate {
    pub span: Span,
    pub bound_lifetimes: P<[LifetimeDef]>,
    pub bounded_ty: P<Ty>,
    pub bounds: P<[TyParamBound]>,
}
🔬 This is a nightly-only experimental API. (rustc_private)

A type bound, eg for<'c> Foo: Send+Clone+'c

Fields

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

Any lifetimes from a for binding

🔬 This is a nightly-only experimental API. (rustc_private)

The type being bounded

🔬 This is a nightly-only experimental API. (rustc_private)

Trait and lifetime bounds (Clone+Send+'static)

Trait Implementations

impl Decodable for WhereBoundPredicate
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

impl PartialEq<WhereBoundPredicate> for WhereBoundPredicate
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for WhereBoundPredicate
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Clone for WhereBoundPredicate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for WhereBoundPredicate
[src]

impl Debug for WhereBoundPredicate
[src]

Formats the value using the given formatter.

impl Encodable for WhereBoundPredicate
[src]

🔬 This is a nightly-only experimental API. (rustc_private)