pub struct ResolvedDiode {
pub component_id: String,
pub designator: String,
pub anode_pins: Vec<String>,
pub cathode_pins: Vec<String>,
pub diode_type: DiodeType,
pub fill_color: String,
pub stroke_color: String,
}Expand description
Resolved diode polarity, subtype, and shading palette for one component.
Fields§
§component_id: String§designator: String§anode_pins: Vec<String>§cathode_pins: Vec<String>§diode_type: DiodeType§fill_color: String§stroke_color: StringTrait Implementations§
Source§impl Clone for ResolvedDiode
impl Clone for ResolvedDiode
Source§fn clone(&self) -> ResolvedDiode
fn clone(&self) -> ResolvedDiode
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 ResolvedDiode
impl Debug for ResolvedDiode
impl Eq for ResolvedDiode
Source§impl PartialEq for ResolvedDiode
impl PartialEq for ResolvedDiode
impl StructuralPartialEq for ResolvedDiode
Auto Trait Implementations§
impl Freeze for ResolvedDiode
impl RefUnwindSafe for ResolvedDiode
impl Send for ResolvedDiode
impl Sync for ResolvedDiode
impl Unpin for ResolvedDiode
impl UnsafeUnpin for ResolvedDiode
impl UnwindSafe for ResolvedDiode
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
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.