pub struct ClassifiedPort {
pub comp_id: String,
pub pin: String,
pub class: PortClass,
}Expand description
One classified port of one component pin in a compiled circuit.
Fields§
§comp_id: StringOwning component id (e.g. “PC1”).
pin: StringPin name (e.g. “led”, “grid”).
class: PortClassDerived class.
Trait Implementations§
Source§impl Clone for ClassifiedPort
impl Clone for ClassifiedPort
Source§fn clone(&self) -> ClassifiedPort
fn clone(&self) -> ClassifiedPort
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 moreSource§impl Debug for ClassifiedPort
impl Debug for ClassifiedPort
impl Eq for ClassifiedPort
Source§impl PartialEq for ClassifiedPort
impl PartialEq for ClassifiedPort
Source§fn eq(&self, other: &ClassifiedPort) -> bool
fn eq(&self, other: &ClassifiedPort) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClassifiedPort
Auto Trait Implementations§
impl Freeze for ClassifiedPort
impl RefUnwindSafe for ClassifiedPort
impl Send for ClassifiedPort
impl Sync for ClassifiedPort
impl Unpin for ClassifiedPort
impl UnsafeUnpin for ClassifiedPort
impl UnwindSafe for ClassifiedPort
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> 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.