pub struct PcbAst {Show 49 fields
pub version: Option<i32>,
pub generator: Option<String>,
pub generator_version: Option<String>,
pub has_general: bool,
pub has_paper: bool,
pub has_title_block: bool,
pub general: Option<PcbGeneralSummary>,
pub paper: Option<PcbPaperSummary>,
pub title_block: Option<PcbTitleBlockSummary>,
pub has_setup: bool,
pub setup: Option<PcbSetupSummary>,
pub has_embedded_fonts: bool,
pub has_embedded_files: bool,
pub embedded_file_count: usize,
pub properties: Vec<PcbProperty>,
pub layers: Vec<PcbLayer>,
pub nets: Vec<PcbNet>,
pub footprints: Vec<PcbFootprintSummary>,
pub segments: Vec<PcbSegmentSummary>,
pub arcs: Vec<PcbArcSummary>,
pub vias: Vec<PcbViaSummary>,
pub zones: Vec<PcbZoneSummary>,
pub generated_items: Vec<PcbGeneratedSummary>,
pub dimensions: Vec<PcbDimensionSummary>,
pub targets: Vec<PcbTargetSummary>,
pub groups: Vec<PcbGroupSummary>,
pub graphics: Vec<PcbGraphicSummary>,
pub layer_count: usize,
pub property_count: usize,
pub net_count: usize,
pub footprint_count: usize,
pub graphic_count: usize,
pub gr_line_count: usize,
pub gr_rect_count: usize,
pub gr_circle_count: usize,
pub gr_arc_count: usize,
pub gr_poly_count: usize,
pub gr_curve_count: usize,
pub gr_text_count: usize,
pub gr_text_box_count: usize,
pub trace_segment_count: usize,
pub trace_arc_count: usize,
pub via_count: usize,
pub zone_count: usize,
pub dimension_count: usize,
pub target_count: usize,
pub group_count: usize,
pub generated_count: usize,
pub unknown_nodes: Vec<UnknownNode>,
}Expand description
PCB (.kicad_pcb) APIs.
Fields§
§version: Option<i32>§generator: Option<String>§generator_version: Option<String>§has_general: bool§has_paper: bool§has_title_block: bool§general: Option<PcbGeneralSummary>§paper: Option<PcbPaperSummary>§title_block: Option<PcbTitleBlockSummary>§has_setup: bool§setup: Option<PcbSetupSummary>§has_embedded_fonts: bool§has_embedded_files: bool§embedded_file_count: usize§properties: Vec<PcbProperty>§layers: Vec<PcbLayer>§nets: Vec<PcbNet>§footprints: Vec<PcbFootprintSummary>§segments: Vec<PcbSegmentSummary>§arcs: Vec<PcbArcSummary>§vias: Vec<PcbViaSummary>§zones: Vec<PcbZoneSummary>§generated_items: Vec<PcbGeneratedSummary>§dimensions: Vec<PcbDimensionSummary>§targets: Vec<PcbTargetSummary>§groups: Vec<PcbGroupSummary>§graphics: Vec<PcbGraphicSummary>§layer_count: usize§property_count: usize§net_count: usize§footprint_count: usize§graphic_count: usize§gr_line_count: usize§gr_rect_count: usize§gr_circle_count: usize§gr_arc_count: usize§gr_poly_count: usize§gr_curve_count: usize§gr_text_count: usize§gr_text_box_count: usize§trace_segment_count: usize§trace_arc_count: usize§via_count: usize§zone_count: usize§dimension_count: usize§target_count: usize§group_count: usize§generated_count: usize§unknown_nodes: Vec<UnknownNode>Trait Implementations§
impl StructuralPartialEq for PcbAst
Auto Trait Implementations§
impl Freeze for PcbAst
impl RefUnwindSafe for PcbAst
impl Send for PcbAst
impl Sync for PcbAst
impl Unpin for PcbAst
impl UnsafeUnpin for PcbAst
impl UnwindSafe for PcbAst
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