pub struct PcbCounts {Show 35 fields
pub layers: usize,
pub nets: usize,
pub properties: usize,
pub variants: usize,
pub footprints: usize,
pub footprint_properties: usize,
pub pads: usize,
pub models: usize,
pub footprint_graphics: usize,
pub footprint_texts: usize,
pub footprint_text_boxes: usize,
pub footprint_zones: usize,
pub segments: usize,
pub vias: usize,
pub zones: usize,
pub arcs: usize,
pub graphics: usize,
pub gr_texts: usize,
pub gr_lines: usize,
pub gr_rects: usize,
pub gr_arcs: usize,
pub gr_circles: usize,
pub gr_polys: usize,
pub gr_curves: usize,
pub gr_text_boxes: usize,
pub images: usize,
pub barcodes: usize,
pub tables: usize,
pub table_cells: usize,
pub groups: usize,
pub dimensions: usize,
pub generated_items: usize,
pub embedded_files: usize,
pub footprint_embedded_files: usize,
pub unknown_top_level: usize,
}Expand description
Collection counts used to compare the lazy view with the Python model.
Fields§
§layers: usize§nets: usize§properties: usize§variants: usize§footprints: usize§footprint_properties: usize§pads: usize§models: usize§footprint_graphics: usize§footprint_texts: usize§footprint_text_boxes: usize§footprint_zones: usizeZones and rule areas owned by board footprints.
segments: usize§vias: usize§zones: usize§arcs: usize§graphics: usize§gr_texts: usize§gr_lines: usize§gr_rects: usize§gr_arcs: usize§gr_circles: usize§gr_polys: usize§gr_curves: usize§gr_text_boxes: usize§images: usize§barcodes: usize§tables: usize§table_cells: usize§groups: usize§dimensions: usize§generated_items: usize§embedded_files: usize§footprint_embedded_files: usize§unknown_top_level: usizeTrait Implementations§
impl Copy for PcbCounts
impl Eq for PcbCounts
impl StructuralPartialEq for PcbCounts
Auto Trait Implementations§
impl Freeze for PcbCounts
impl RefUnwindSafe for PcbCounts
impl Send for PcbCounts
impl Sync for PcbCounts
impl Unpin for PcbCounts
impl UnsafeUnpin for PcbCounts
impl UnwindSafe for PcbCounts
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.