pub enum DiagnosticConstraintKind {
Check,
NotNull,
Relation,
TargetedRule,
Unique,
}Expand description
Compact accepted constraint family carried by DiagnosticFactTag::ConstraintKind.
Variants§
Check
Compact diagnostic value 1.
NotNull
Compact diagnostic value 2.
Relation
Compact diagnostic value 3.
TargetedRule
Compact diagnostic value 4.
Unique
Compact diagnostic value 5.
Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticConstraintKind
impl Clone for DiagnosticConstraintKind
Source§fn clone(&self) -> DiagnosticConstraintKind
fn clone(&self) -> DiagnosticConstraintKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiagnosticConstraintKind
Source§impl Debug for DiagnosticConstraintKind
impl Debug for DiagnosticConstraintKind
impl Eq for DiagnosticConstraintKind
Source§impl Hash for DiagnosticConstraintKind
impl Hash for DiagnosticConstraintKind
Source§impl PartialEq for DiagnosticConstraintKind
impl PartialEq for DiagnosticConstraintKind
impl StructuralPartialEq for DiagnosticConstraintKind
Auto Trait Implementations§
impl Freeze for DiagnosticConstraintKind
impl RefUnwindSafe for DiagnosticConstraintKind
impl Send for DiagnosticConstraintKind
impl Sync for DiagnosticConstraintKind
impl Unpin for DiagnosticConstraintKind
impl UnsafeUnpin for DiagnosticConstraintKind
impl UnwindSafe for DiagnosticConstraintKind
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