pub struct PcbSetup {Show 15 fields
pub has_aux_axis_origin: bool,
pub aux_axis_origin: PcbPoint,
pub has_grid_origin: bool,
pub grid_origin: PcbPoint,
pub allow_soldermask_bridges_in_footprints: bool,
pub tenting_front: bool,
pub tenting_back: bool,
pub covering_front: bool,
pub covering_back: bool,
pub plugging_front: bool,
pub plugging_back: bool,
pub capping: bool,
pub filling: bool,
pub stackup: Option<PcbStackup>,
pub source_range: Range<usize>,
}Fields§
§has_aux_axis_origin: boolDirect declaration presence, independent of the effective origin value.
aux_axis_origin: PcbPoint§has_grid_origin: boolDistinguishes an authored zero origin from the absent-origin default.
grid_origin: PcbPoint§allow_soldermask_bridges_in_footprints: bool§tenting_front: bool§tenting_back: bool§covering_front: bool§covering_back: bool§plugging_front: bool§plugging_back: bool§capping: bool§filling: bool§stackup: Option<PcbStackup>§source_range: Range<usize>Implementations§
Source§impl PcbSetup
impl PcbSetup
Sourcepub fn kicad_default() -> Self
pub fn kicad_default() -> Self
KiCad’s design settings for a board with no (setup) form, as
kicad-cli 10.0.5 pcb upgrade writes them: vias tented on both sides,
no covering, plugging, capping or filling, no origins and no stackup.
Trait Implementations§
impl StructuralPartialEq for PcbSetup
Auto Trait Implementations§
impl Freeze for PcbSetup
impl RefUnwindSafe for PcbSetup
impl Send for PcbSetup
impl Sync for PcbSetup
impl Unpin for PcbSetup
impl UnsafeUnpin for PcbSetup
impl UnwindSafe for PcbSetup
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