Enum ra_ap_hir_def::generics::WherePredicateTypeTarget [−][src]
pub enum WherePredicateTypeTarget { TypeRef(Interned<TypeRef>), TypeParam(LocalTypeParamId), }
Variants
TypeParam(LocalTypeParamId)
For desugared where predicates that can directly refer to a type param.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WherePredicateTypeTarget
impl Send for WherePredicateTypeTarget
impl Sync for WherePredicateTypeTarget
impl Unpin for WherePredicateTypeTarget
impl UnwindSafe for WherePredicateTypeTarget
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.