pub struct KiCadAssemblyVariantContext { /* private fields */ }Expand description
Private captured-source binding, exact project catalog, and immutable selected evidence.
Implementations§
Source§impl KiCadAssemblyVariantContext
impl KiCadAssemblyVariantContext
pub fn name(&self) -> &str
pub fn selected(&self) -> Option<&ProjectVariant>
pub fn project_path(&self) -> &str
pub fn catalog(&self) -> &[ProjectVariant]
pub fn board_catalog(&self) -> &[PcbBoardVariant]
pub fn symbols(&self) -> &[KiCadVariantSymbol]
pub fn sheets(&self) -> &[KiCadVariantSheet]
pub fn footprints(&self) -> &[KiCadVariantFootprint]
pub fn diagnostics(&self) -> &[KiCadVariantDiagnostic]
pub fn complete(&self) -> bool
pub fn matches_sources(&self, bundle: &SourceBundle, board_source: &str) -> bool
Trait Implementations§
Source§impl Clone for KiCadAssemblyVariantContext
impl Clone for KiCadAssemblyVariantContext
Source§fn clone(&self) -> KiCadAssemblyVariantContext
fn clone(&self) -> KiCadAssemblyVariantContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for KiCadAssemblyVariantContext
impl RefUnwindSafe for KiCadAssemblyVariantContext
impl Send for KiCadAssemblyVariantContext
impl Sync for KiCadAssemblyVariantContext
impl Unpin for KiCadAssemblyVariantContext
impl UnsafeUnpin for KiCadAssemblyVariantContext
impl UnwindSafe for KiCadAssemblyVariantContext
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