pub struct KiCadSchematicCompilation { /* private fields */ }Implementations§
Source§impl KiCadSchematicCompilation
impl KiCadSchematicCompilation
Sourcepub fn page_plot(
&self,
occurrence_index: usize,
options: KiCadPagePlotOptions<'_, '_>,
) -> Result<KiCadCompiledPagePlot, KiCadPagePlotError>
pub fn page_plot( &self, occurrence_index: usize, options: KiCadPagePlotOptions<'_, '_>, ) -> Result<KiCadCompiledPagePlot, KiCadPagePlotError>
Render one retained base occurrence. Source identity, effective project facts and occurrence context cannot be overridden by this operation.
Source§impl KiCadSchematicCompilation
impl KiCadSchematicCompilation
pub fn build(bundle: SourceBundle) -> Result<Self, SourceBundleError>
Sourcepub fn diagnostics(&self) -> &[KiCadDiagnostic]
pub fn diagnostics(&self) -> &[KiCadDiagnostic]
Everything the compilation drew or compiled by a repair instead of stopping, in the stable shared order. Page diagnostics are a subset.
pub fn bundle(&self) -> &SourceBundle
pub fn index(&self) -> &SchematicBundleIndex
pub fn project(&self) -> Option<ProjectView<'_>>
pub fn scalar(&self) -> &SchematicScalarDesignNetlist
pub fn graph(&self) -> &CompiledSchematicGraphA0
pub fn components(&self) -> &[KiCadCompiledComponent]
Sourcepub fn variant_components(
&self,
name: &str,
) -> Result<KiCadSchematicVariant, SourceBundleError>
pub fn variant_components( &self, name: &str, ) -> Result<KiCadSchematicVariant, SourceBundleError>
Resolve one exact catalogued variant using retained source evidence and the native materializer. Result indices address self.components().
pub fn bindings(&self) -> &KiCadCompilationBindings
pub fn issues(&self) -> &[KiCadCompilationIssue]
pub fn symbol( &self, source: KiCadSymbolOccurrence, ) -> Result<(&SchematicOccurrence, &SchematicPlacedSymbol), SourceBundleError>
pub fn subgraph( &self, member: SchematicDesignNetMember, ) -> Result<&SchematicWireSubgraph, SourceBundleError>
pub fn naming_field( &self, field: &KiCadNamingField, ) -> Result<KiCadNamingFieldView<'_>, SourceBundleError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KiCadSchematicCompilation
impl RefUnwindSafe for KiCadSchematicCompilation
impl Send for KiCadSchematicCompilation
impl Sync for KiCadSchematicCompilation
impl Unpin for KiCadSchematicCompilation
impl UnsafeUnpin for KiCadSchematicCompilation
impl UnwindSafe for KiCadSchematicCompilation
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