pub struct SchematicAnnotationSourceView<'a> { /* private fields */ }Implementations§
Source§impl<'a> SchematicAnnotationSourceView<'a>
impl<'a> SchematicAnnotationSourceView<'a>
Sourcepub fn contacts(
&self,
annotations: &[&SchematicNativeAnnotation<'a>],
pins: &[&SchematicNativePowerPin<'a>],
pin_context: &SchematicNativePinContext<'a>,
wire_ordinals: &[usize],
junction_ordinals: &[usize],
) -> Result<SchematicAnnotationContacts, SourceBundleError>
pub fn contacts( &self, annotations: &[&SchematicNativeAnnotation<'a>], pins: &[&SchematicNativePowerPin<'a>], pin_context: &SchematicNativePinContext<'a>, wire_ordinals: &[usize], junction_ordinals: &[usize], ) -> Result<SchematicAnnotationContacts, SourceBundleError>
Authorize native incidence before filtering to the caller’s retained targets. Every native source line/annotation participates in context. No supplied handle, coordinate, UUID or model identity can invent it.
Source§impl<'a> SchematicAnnotationSourceView<'a>
impl<'a> SchematicAnnotationSourceView<'a>
Sourcepub fn directive_presentation(
&self,
selector: SchematicAnnotationSelector,
) -> Result<Option<SchematicDirectivePresentation>, SourceBundleError>
pub fn directive_presentation( &self, selector: SchematicAnnotationSelector, ) -> Result<Option<SchematicDirectivePresentation>, SourceBundleError>
KiCad10.0.5 SCH_DIRECTIVE_LABEL::CreateGraphicShape/Plot: fixed20mil symbol, authored/default100mil stem, loaded text spin and standalone pen. Fields keep their own separately authored positions/effects.
Sourcepub fn named_presentation(
&self,
selector: SchematicAnnotationSelector,
) -> Result<Option<SchematicNamedPresentation>, SourceBundleError>
pub fn named_presentation( &self, selector: SchematicAnnotationSelector, ) -> Result<Option<SchematicNamedPresentation>, SourceBundleError>
Fixed standalone default paint; no graph/project/child/native execution.
Source§impl<'a> SchematicAnnotationSourceView<'a>
impl<'a> SchematicAnnotationSourceView<'a>
Sourcepub fn pin_context_without_selections(
&self,
) -> Result<SchematicNativePinContext<'a>, SourceBundleError>
pub fn pin_context_without_selections( &self, ) -> Result<SchematicNativePinContext<'a>, SourceBundleError>
Checked original placement absence is independent of pin/root/version readability. Any original placement makes this context incomplete and grants no pin target; no selection or pin resolver is invoked here.
pub fn selectors( &self, ) -> impl ExactSizeIterator<Item = SchematicAnnotationSelector> + '_
pub fn record( &self, selector: SchematicAnnotationSelector, ) -> Result<Option<SchematicAuthoredAnnotationRecord<'a>>, SourceBundleError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SchematicAnnotationSourceView<'a>
impl<'a> RefUnwindSafe for SchematicAnnotationSourceView<'a>
impl<'a> Send for SchematicAnnotationSourceView<'a>
impl<'a> Sync for SchematicAnnotationSourceView<'a>
impl<'a> Unpin for SchematicAnnotationSourceView<'a>
impl<'a> UnsafeUnpin for SchematicAnnotationSourceView<'a>
impl<'a> UnwindSafe for SchematicAnnotationSourceView<'a>
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