pub struct ReadBack {
pub top_flashes: usize,
pub bottom_flashes: usize,
pub plated_holes: usize,
pub unplated_holes: usize,
pub outline_mm: (f64, f64),
pub placements: usize,
pub bom_lines: usize,
}Expand description
What a bundle’s files hold, counted by reading the files themselves: pad flashes on the outer copper, drill hits, the outline’s extent and the CSV rows. A host reports these beside an export so a caller can compare them with the board without trusting the writer.
Fields§
§top_flashes: usizeD03 flashes in the top and bottom copper files.
bottom_flashes: usize§plated_holes: usizeHits in the plated and non-plated drill files.
unplated_holes: usize§outline_mm: (f64, f64)Width and height of the Edge_Cuts drawing in millimetres, measured to the centre of its stroke.
placements: usizeData rows (not the header) of the pick-and-place and BOM files.
bom_lines: usizeTrait Implementations§
impl StructuralPartialEq for ReadBack
Auto Trait Implementations§
impl Forget for ReadBack
impl Freeze for ReadBack
impl Move for ReadBack
impl RefUnwindSafe for ReadBack
impl Send for ReadBack
impl Sync for ReadBack
impl Unpin for ReadBack
impl UnsafeUnpin for ReadBack
impl UnwindSafe for ReadBack
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