pub struct SchematicPowerSourceView<'a> { /* private fields */ }Implementations§
Source§impl<'a> SchematicPowerSourceView<'a>
impl<'a> SchematicPowerSourceView<'a>
Sourcepub fn library_jumper_groups(
&self,
selected_library_key: &str,
) -> Result<Option<SchematicLibraryJumperGroups<'_>>, SourceBundleError>
pub fn library_jumper_groups( &self, selected_library_key: &str, ) -> Result<Option<SchematicLibraryJumperGroups<'_>>, SourceBundleError>
Read effective root jumper declarations for a complete single-unit, single-body-style definition. No placement pose/alternate is selected. Missing keys return None; content refusals stay local to group records. Resource/contract failures return no partially issued receipt.
Source§impl<'a> SchematicPowerSourceView<'a>
impl<'a> SchematicPowerSourceView<'a>
Sourcepub fn parent_power(
&self,
ordinal: usize,
) -> Result<Option<SchematicPowerParent<'a>>, SourceBundleError>
pub fn parent_power( &self, ordinal: usize, ) -> Result<Option<SchematicPowerParent<'a>>, SourceBundleError>
Classify only the selected definition’s checked root flag. This read does not select a unit/style, qualify artwork or issue electrical pins.
Sourcepub fn selection_inventory(
&self,
ordinal: usize,
) -> Result<Option<SchematicPowerSelectionInventory<'a>>, SourceBundleError>
pub fn selection_inventory( &self, ordinal: usize, ) -> Result<Option<SchematicPowerSelectionInventory<'a>>, SourceBundleError>
Qualify an authored effective unit/style before requesting active pins. This issues no pin, pose, artwork or contact authority.
Sourcepub fn placement_pins(
&self,
ordinal: usize,
selection: SchematicPowerPinSelection,
) -> Result<Option<SchematicPowerPlacement<'a>>, SourceBundleError>
pub fn placement_pins( &self, ordinal: usize, selection: SchematicPowerPinSelection, ) -> Result<Option<SchematicPowerPlacement<'a>>, SourceBundleError>
Read the selected root’s active original pin rows. A malformed pin stays local to its record; an unqualified parent selection refuses this call.
Sourcepub fn native_pin_context(
&self,
selections: &[(usize, SchematicPowerPinSelection)],
) -> Result<SchematicNativePinContext<'a>, SourceBundleError>
pub fn native_pin_context( &self, selections: &[(usize, SchematicPowerPinSelection)], ) -> Result<SchematicNativePinContext<'a>, SourceBundleError>
Explicit source-read selections, independently qualified against the existing inventory, not a new occurrence resolver. Consumers must prove these equal their existing effective occurrence selections. Unrequested placements and malformed native pins make context incomplete; they are never silently treated as nonexistent veto points.
Sourcepub fn contacts(
&self,
pins: &[&SchematicNativePowerPin<'a>],
wire_ordinals: &[usize],
junction_ordinals: &[usize],
) -> Result<SchematicNativePinContacts, SourceBundleError>
pub fn contacts( &self, pins: &[&SchematicNativePowerPin<'a>], wire_ordinals: &[usize], junction_ordinals: &[usize], ) -> Result<SchematicNativePinContacts, SourceBundleError>
Exact pinned-native incidence for a caller’s retained original subset. No pin-on-wire-interior or crossing inference is performed. Explicit junction targets name the nodes already realized by a connection stage.