Struct syn::PredicateEq[][src]

pub struct PredicateEq {
    pub lhs_ty: Type,
    pub eq_token: Eq,
    pub rhs_ty: Type,

An equality predicate in a where clause (unsupported).

This type is available if Syn is built with the "derive" or "full" feature.


Trait Implementations

impl ToTokens for PredicateEq

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

impl Debug for PredicateEq

Formats the value using the given formatter. Read more

impl Eq for PredicateEq

impl PartialEq for PredicateEq

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

This method tests for !=.

impl Hash for PredicateEq

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

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

impl Clone for PredicateEq

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<PredicateEq> for WherePredicate

Performs the conversion.

Auto Trait Implementations

impl !Send for PredicateEq

impl !Sync for PredicateEq