#[repr(u8)]pub enum WherePredKind {
TraitBound = 0,
ProjectionEq = 1,
TypeOutlives = 2,
RegionOutlives = 3,
}Expand description
Discriminator of a WherePredEntry clause (1 byte).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WherePredKind
impl Clone for WherePredKind
impl Copy for WherePredKind
Source§impl Debug for WherePredKind
impl Debug for WherePredKind
Source§impl Default for WherePredKind
impl Default for WherePredKind
impl Eq for WherePredKind
Source§impl Hash for WherePredKind
impl Hash for WherePredKind
Source§impl PartialEq for WherePredKind
impl PartialEq for WherePredKind
impl StructuralPartialEq for WherePredKind
Auto Trait Implementations§
impl Forget for WherePredKind
impl Freeze for WherePredKind
impl Move for WherePredKind
impl RefUnwindSafe for WherePredKind
impl Send for WherePredKind
impl Sync for WherePredKind
impl Unpin for WherePredKind
impl UnsafeUnpin for WherePredKind
impl UnwindSafe for WherePredKind
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