pub enum UnitProblem {
UnitWithoutGroup {
unit: u32,
},
UnitOutOfRange {
port: String,
unit: u32,
units: u32,
},
UnitContested {
unit: u32,
ports: Vec<String>,
},
}Expand description
Something about the unit-to-group mapping that does not hold. Never fatal: what maps still binds, and this says what did not.
Variants§
UnitWithoutGroup
The symbol has this unit and no port group takes it, so its pins bind to nothing.
UnitOutOfRange
A group names a unit the symbol does not have (0, or past
unit_count).
UnitContested
Two groups name one unit; the FIRST in block order keeps it.
Implementations§
Trait Implementations§
Source§impl Clone for UnitProblem
impl Clone for UnitProblem
Source§impl Debug for UnitProblem
impl Debug for UnitProblem
Source§impl<'de> Deserialize<'de> for UnitProblem
impl<'de> Deserialize<'de> for UnitProblem
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 UnitProblem
Source§impl PartialEq for UnitProblem
impl PartialEq for UnitProblem
Source§impl Serialize for UnitProblem
impl Serialize for UnitProblem
impl StructuralPartialEq for UnitProblem
Auto Trait Implementations§
impl Freeze for UnitProblem
impl RefUnwindSafe for UnitProblem
impl Send for UnitProblem
impl Sync for UnitProblem
impl Unpin for UnitProblem
impl UnsafeUnpin for UnitProblem
impl UnwindSafe for UnitProblem
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.