pub struct DiodeGlyphStroke {
pub start: CoordNm,
pub end: CoordNm,
pub width_nm: i64,
pub halo_width_nm: i64,
pub kind: DiodeStrokeKind,
}Expand description
One straight stroke segment in a diode glyph (+Y up, whole nm).
Fields§
§start: CoordNm§end: CoordNm§width_nm: i64§halo_width_nm: i64§kind: DiodeStrokeKindTrait Implementations§
Source§impl Clone for DiodeGlyphStroke
impl Clone for DiodeGlyphStroke
Source§fn clone(&self) -> DiodeGlyphStroke
fn clone(&self) -> DiodeGlyphStroke
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 moreimpl Copy for DiodeGlyphStroke
Source§impl Debug for DiodeGlyphStroke
impl Debug for DiodeGlyphStroke
impl Eq for DiodeGlyphStroke
Source§impl PartialEq for DiodeGlyphStroke
impl PartialEq for DiodeGlyphStroke
impl StructuralPartialEq for DiodeGlyphStroke
Auto Trait Implementations§
impl Freeze for DiodeGlyphStroke
impl RefUnwindSafe for DiodeGlyphStroke
impl Send for DiodeGlyphStroke
impl Sync for DiodeGlyphStroke
impl Unpin for DiodeGlyphStroke
impl UnsafeUnpin for DiodeGlyphStroke
impl UnwindSafe for DiodeGlyphStroke
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.