pub struct PcbResolvedPadCopperLayer<'a> {Show 15 fields
pub shape: &'a str,
pub size: PcbPoint,
pub offset: PcbPoint,
pub rect_delta: PcbPoint,
pub roundrect_rratio: f64,
pub chamfer_ratio: f64,
pub chamfer_corners: &'a [String],
pub anchor: &'a str,
pub custom_options: Option<&'a PcbPadCustomOptions>,
pub custom_primitives: &'a [PcbPadCustomPrimitive],
pub clearance: Option<f64>,
pub thermal_bridge_width: Option<f64>,
pub thermal_bridge_angle: f64,
pub thermal_gap: Option<f64>,
pub zone_connect: Option<i64>,
}Expand description
Effective source-local shape and layer-local policy for one copper selector. Distances remain millimetres and angles remain KiCad degrees. A drill offset moves the copper shape, not the hole. No policy is inherited from a footprint or a design rule here; absence remains absence.
Fields§
§shape: &'a str§size: PcbPoint§offset: PcbPoint§rect_delta: PcbPoint§roundrect_rratio: f64§chamfer_ratio: f64§chamfer_corners: &'a [String]§anchor: &'a str§custom_options: Option<&'a PcbPadCustomOptions>§custom_primitives: &'a [PcbPadCustomPrimitive]§clearance: Option<f64>§thermal_bridge_width: Option<f64>§thermal_bridge_angle: f64§thermal_gap: Option<f64>§zone_connect: Option<i64>Trait Implementations§
Source§impl<'a> Clone for PcbResolvedPadCopperLayer<'a>
impl<'a> Clone for PcbResolvedPadCopperLayer<'a>
Source§fn clone(&self) -> PcbResolvedPadCopperLayer<'a>
fn clone(&self) -> PcbResolvedPadCopperLayer<'a>
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<'a> Copy for PcbResolvedPadCopperLayer<'a>
Source§impl<'a> Debug for PcbResolvedPadCopperLayer<'a>
impl<'a> Debug for PcbResolvedPadCopperLayer<'a>
Source§impl<'a> PartialEq for PcbResolvedPadCopperLayer<'a>
impl<'a> PartialEq for PcbResolvedPadCopperLayer<'a>
impl<'a> StructuralPartialEq for PcbResolvedPadCopperLayer<'a>
Auto Trait Implementations§
impl<'a> Freeze for PcbResolvedPadCopperLayer<'a>
impl<'a> RefUnwindSafe for PcbResolvedPadCopperLayer<'a>
impl<'a> Send for PcbResolvedPadCopperLayer<'a>
impl<'a> Sync for PcbResolvedPadCopperLayer<'a>
impl<'a> Unpin for PcbResolvedPadCopperLayer<'a>
impl<'a> UnsafeUnpin for PcbResolvedPadCopperLayer<'a>
impl<'a> UnwindSafe for PcbResolvedPadCopperLayer<'a>
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