pub enum PredicateKind {
Clause(ClauseKind),
DynCompatible(TraitDef),
SubType(SubtypePredicate),
Coerce(CoercePredicate),
ConstEquate(TyConst, TyConst),
Ambiguous,
AliasRelate(TermKind, TermKind, AliasRelationDirection),
}
Variants§
Clause(ClauseKind)
DynCompatible(TraitDef)
SubType(SubtypePredicate)
Coerce(CoercePredicate)
ConstEquate(TyConst, TyConst)
Ambiguous
AliasRelate(TermKind, TermKind, AliasRelationDirection)
Trait Implementations§
Source§impl Clone for PredicateKind
impl Clone for PredicateKind
Source§fn clone(&self) -> PredicateKind
fn clone(&self) -> PredicateKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PredicateKind
impl Debug for PredicateKind
Source§impl PartialEq for PredicateKind
impl PartialEq for PredicateKind
Source§impl Serialize for PredicateKind
impl Serialize for PredicateKind
impl Eq for PredicateKind
impl StructuralPartialEq for PredicateKind
Auto Trait Implementations§
impl Freeze for PredicateKind
impl RefUnwindSafe for PredicateKind
impl Send for PredicateKind
impl Sync for PredicateKind
impl Unpin for PredicateKind
impl UnwindSafe for PredicateKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 168 bytes
Size for each variant:
Clause
: 128 bytesDynCompatible
: 16 bytesSubType
: 24 bytesCoerce
: 24 bytesConstEquate
: 168 bytesAmbiguous
: 0 bytesAliasRelate
: 168 bytes