pub enum PinPointProblem {
UnlabelledPin {
unit: u32,
},
RepeatedPin {
unit: u32,
pin: String,
},
PinWithoutPoint {
unit: u32,
pin: String,
},
RepeatedPointName {
name: String,
points: Vec<String>,
},
PointWithoutPin {
point: String,
},
PadWithoutPin {
pad: String,
},
Unit(UnitProblem),
}Expand description
Something about a part’s pins and points that does not pair. Each variant
names what is concerned; PinPointProblem::message says it in words.
Variants§
UnlabelledPin
A pin with no label.
RepeatedPin
Two pins of one unit share a label.
PinWithoutPoint
No connection point in the pin’s unit group carries its label.
RepeatedPointName
Several points of one group carry one name, so a pin cannot name one.
PointWithoutPin
A connection point in a pin-bound group whose name no pin carries.
PadWithoutPin
A numbered pad whose number no pin carries (an empty number is a mechanical pad and is not listed).
Unit(UnitProblem)
The symbol units and the port groups disagree — see UnitProblem.
Implementations§
Trait Implementations§
Source§impl Clone for PinPointProblem
impl Clone for PinPointProblem
Source§impl Debug for PinPointProblem
impl Debug for PinPointProblem
Source§impl<'de> Deserialize<'de> for PinPointProblem
impl<'de> Deserialize<'de> for PinPointProblem
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 PinPointProblem
Source§impl PartialEq for PinPointProblem
impl PartialEq for PinPointProblem
Source§impl Serialize for PinPointProblem
impl Serialize for PinPointProblem
impl StructuralPartialEq for PinPointProblem
Auto Trait Implementations§
impl Forget for PinPointProblem
impl Freeze for PinPointProblem
impl RefUnwindSafe for PinPointProblem
impl Send for PinPointProblem
impl Sync for PinPointProblem
impl Unpin for PinPointProblem
impl UnsafeUnpin for PinPointProblem
impl UnwindSafe for PinPointProblem
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.