pub struct PcbPadstackLayer {Show 16 fields
pub layer: String,
pub shape: Option<String>,
pub size: Option<PcbPoint>,
pub offset: Option<PcbPoint>,
pub rect_delta: Option<PcbPoint>,
pub roundrect_rratio: Option<f64>,
pub chamfer_ratio: Option<f64>,
pub chamfer_corners: Vec<String>,
pub clearance: Option<f64>,
pub thermal_bridge_width: Option<f64>,
pub thermal_bridge_angle: Option<f64>,
pub thermal_gap: Option<f64>,
pub zone_connect: Option<i64>,
pub custom_options: Option<PcbPadCustomOptions>,
pub custom_primitives: Vec<PcbPadCustomPrimitive>,
pub source_range: Range<usize>,
}Fields§
§layer: StringInner is the source front/inner/back selector, not a board layer name.
shape: Option<String>§size: Option<PcbPoint>§offset: Option<PcbPoint>§rect_delta: Option<PcbPoint>§roundrect_rratio: Option<f64>§chamfer_ratio: Option<f64>§chamfer_corners: Vec<String>§clearance: Option<f64>§thermal_bridge_width: Option<f64>§thermal_bridge_angle: Option<f64>§thermal_gap: Option<f64>§zone_connect: Option<i64>Explicit -1 (inherited) remains distinct from an absent declaration.
custom_options: Option<PcbPadCustomOptions>§custom_primitives: Vec<PcbPadCustomPrimitive>§source_range: Range<usize>Trait Implementations§
Source§impl Clone for PcbPadstackLayer
impl Clone for PcbPadstackLayer
Source§fn clone(&self) -> PcbPadstackLayer
fn clone(&self) -> PcbPadstackLayer
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 PcbPadstackLayer
impl Debug for PcbPadstackLayer
Source§impl PartialEq for PcbPadstackLayer
impl PartialEq for PcbPadstackLayer
impl StructuralPartialEq for PcbPadstackLayer
Auto Trait Implementations§
impl Freeze for PcbPadstackLayer
impl RefUnwindSafe for PcbPadstackLayer
impl Send for PcbPadstackLayer
impl Sync for PcbPadstackLayer
impl Unpin for PcbPadstackLayer
impl UnsafeUnpin for PcbPadstackLayer
impl UnwindSafe for PcbPadstackLayer
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