pub enum ErcKind {
PinNotConnected,
PinConflict,
PowerNotDriven,
NoConnectJoined,
NoConnectMarkerJoined,
UnitUnused,
UnitMissing,
DuplicateReference,
ConflictingLabels,
DanglingWire,
}Expand description
What a finding is about.
Variants§
PinNotConnected
A pin with no other pin on its net.
PinConflict
Two pin types the pin map does not allow on one net.
PowerNotDriven
A power input pin on a net that no power output pin and no power flag drives.
NoConnectJoined
A pin of type no_connect joined to something.
NoConnectMarkerJoined
A no-connect marker on a pin that is joined after all.
UnitUnused
Every pin of one gate of a part split into gates (crate::Pin::gate,
KiCad’s unit) joined to nothing.
UnitMissing
A gate of a part whose gates are placed apart that has no placement: KiCad’s “missing unit”. Its pins are on no sheet, so no other rule reads them.
DuplicateReference
Two components with one reference.
ConflictingLabels
Two net names on one net.
DanglingWire
A wire end that touches no pin, wire, junction or label.
Implementations§
Trait Implementations§
impl Copy for ErcKind
Source§impl<'de> Deserialize<'de> for ErcKind
impl<'de> Deserialize<'de> for ErcKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ErcKind
Source§impl Ord for ErcKind
impl Ord for ErcKind
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ErcKind
impl PartialOrd for ErcKind
impl StructuralPartialEq for ErcKind
Auto Trait Implementations§
impl Forget for ErcKind
impl Freeze for ErcKind
impl Move for ErcKind
impl RefUnwindSafe for ErcKind
impl Send for ErcKind
impl Sync for ErcKind
impl Unpin for ErcKind
impl UnsafeUnpin for ErcKind
impl UnwindSafe for ErcKind
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