Struct syn::WhereEqPredicate [] [src]

pub struct WhereEqPredicate {
    pub lhs_ty: Ty,
    pub rhs_ty: Ty,
}

An equality predicate (unsupported).

E.g. T=int

Fields

Trait Implementations

impl ToTokens for WhereEqPredicate
[src]

Write self to the given Tokens. Read more

impl Debug for WhereEqPredicate
[src]

Formats the value using the given formatter.

impl Clone for WhereEqPredicate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for WhereEqPredicate
[src]

impl PartialEq for WhereEqPredicate
[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 WhereEqPredicate
[src]

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

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