pub struct PcbPadCustomPrimitive {
pub kind: String,
pub points: Vec<PcbPoint>,
pub geometry: Option<PcbPadPrimitiveGeometry>,
pub width: Option<f64>,
pub fill: Option<String>,
pub source_range: Range<usize>,
}Expand description
One source-local custom-pad primitive, with policy declaration evidence.
Fields§
§kind: String§points: Vec<PcbPoint>Compatibility XY projection of pts; use geometry for complete polygons
containing arcs and for non-polygon primitives.
geometry: Option<PcbPadPrimitiveGeometry>None marks an unsupported or incomplete geometry, not an empty shape.
width: Option<f64>§fill: Option<String>§source_range: Range<usize>Trait Implementations§
Source§impl Clone for PcbPadCustomPrimitive
impl Clone for PcbPadCustomPrimitive
Source§fn clone(&self) -> PcbPadCustomPrimitive
fn clone(&self) -> PcbPadCustomPrimitive
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 PcbPadCustomPrimitive
impl Debug for PcbPadCustomPrimitive
Source§impl PartialEq for PcbPadCustomPrimitive
impl PartialEq for PcbPadCustomPrimitive
impl StructuralPartialEq for PcbPadCustomPrimitive
Auto Trait Implementations§
impl Freeze for PcbPadCustomPrimitive
impl RefUnwindSafe for PcbPadCustomPrimitive
impl Send for PcbPadCustomPrimitive
impl Sync for PcbPadCustomPrimitive
impl Unpin for PcbPadCustomPrimitive
impl UnsafeUnpin for PcbPadCustomPrimitive
impl UnwindSafe for PcbPadCustomPrimitive
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