pub struct DiodeGlyph {
pub component_id: String,
pub designator: String,
pub diode_type: DiodeType,
pub fill_color: String,
pub stroke_color: String,
pub triangle: [CoordNm; 3],
pub triangle_halo_width_nm: i64,
pub triangle_outline_width_nm: i64,
pub strokes: Vec<DiodeGlyphStroke>,
}Expand description
Complete styled vector geometry of one diode symbol (+Y up, whole nm).
Fields§
§component_id: String§designator: String§diode_type: DiodeType§fill_color: String§stroke_color: String§triangle: [CoordNm; 3]§triangle_halo_width_nm: i64§triangle_outline_width_nm: i64§strokes: Vec<DiodeGlyphStroke>Trait Implementations§
Source§impl Clone for DiodeGlyph
impl Clone for DiodeGlyph
Source§fn clone(&self) -> DiodeGlyph
fn clone(&self) -> DiodeGlyph
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 DiodeGlyph
impl Debug for DiodeGlyph
impl Eq for DiodeGlyph
Source§impl PartialEq for DiodeGlyph
impl PartialEq for DiodeGlyph
impl StructuralPartialEq for DiodeGlyph
Auto Trait Implementations§
impl Freeze for DiodeGlyph
impl RefUnwindSafe for DiodeGlyph
impl Send for DiodeGlyph
impl Sync for DiodeGlyph
impl Unpin for DiodeGlyph
impl UnsafeUnpin for DiodeGlyph
impl UnwindSafe for DiodeGlyph
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.