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.

Fields

Trait Implementations

impl ToTokens for PredicateEq
[src]

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

impl Clone for PredicateEq
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<PredicateEq> for WherePredicate
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for PredicateEq

impl !Sync for PredicateEq