pub enum KiCadDiagnosticSeverity {
Error,
Warning,
Info,
}Expand description
How a diagnostic relates to what was drawn.
Variants§
Error
The object was left out.
Warning
The object was drawn by a rule not yet checked against KiCad.
Info
The object was skipped the way KiCad skips it.
Implementations§
Trait Implementations§
Source§impl Clone for KiCadDiagnosticSeverity
impl Clone for KiCadDiagnosticSeverity
Source§fn clone(&self) -> KiCadDiagnosticSeverity
fn clone(&self) -> KiCadDiagnosticSeverity
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 KiCadDiagnosticSeverity
Source§impl Debug for KiCadDiagnosticSeverity
impl Debug for KiCadDiagnosticSeverity
impl Eq for KiCadDiagnosticSeverity
Source§impl Hash for KiCadDiagnosticSeverity
impl Hash for KiCadDiagnosticSeverity
Source§impl Ord for KiCadDiagnosticSeverity
impl Ord for KiCadDiagnosticSeverity
Source§fn cmp(&self, other: &KiCadDiagnosticSeverity) -> Ordering
fn cmp(&self, other: &KiCadDiagnosticSeverity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KiCadDiagnosticSeverity
impl PartialEq for KiCadDiagnosticSeverity
Source§impl PartialOrd for KiCadDiagnosticSeverity
impl PartialOrd for KiCadDiagnosticSeverity
impl StructuralPartialEq for KiCadDiagnosticSeverity
Auto Trait Implementations§
impl Freeze for KiCadDiagnosticSeverity
impl RefUnwindSafe for KiCadDiagnosticSeverity
impl Send for KiCadDiagnosticSeverity
impl Sync for KiCadDiagnosticSeverity
impl Unpin for KiCadDiagnosticSeverity
impl UnsafeUnpin for KiCadDiagnosticSeverity
impl UnwindSafe for KiCadDiagnosticSeverity
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.