Struct syntax::ast::WhereEqPredicate
[−]
[src]
pub struct WhereEqPredicate { pub id: NodeId, pub span: Span, pub lhs_ty: P<Ty>, pub rhs_ty: P<Ty>, }
An equality predicate (unsupported).
E.g. T=int
Fields
id: NodeId
span: Span
lhs_ty: P<Ty>
rhs_ty: P<Ty>
Trait Implementations
impl Clone for WhereEqPredicate
[src]
fn clone(&self) -> WhereEqPredicate
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for WhereEqPredicate
[src]
fn eq(&self, __arg_0: &WhereEqPredicate) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &WhereEqPredicate) -> bool
[src]
This method tests for !=
.
impl Eq for WhereEqPredicate
[src]
impl Encodable for WhereEqPredicate
[src]
impl Decodable for WhereEqPredicate
[src]
impl Hash for WhereEqPredicate
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more