pub struct SchematicPlotContext {
pub source_path: Option<String>,
pub document_id: Option<String>,
pub sheet_index: usize,
pub sheet_count: usize,
pub sheet_path: String,
pub sheet_instance_path: String,
pub sheet_name: String,
pub project_variables: SchematicPlotVariables,
pub worksheet_source: Option<Vec<u8>>,
}Expand description
Explicit page and project sidecars. worksheet_source, when present, is
the already-selected, decompressed worksheet file; absence uses KiCad’s
built-in default drawing sheet.
Fields§
§source_path: Option<String>§document_id: Option<String>§sheet_index: usize§sheet_count: usize§sheet_path: String§sheet_instance_path: StringKiCad UUID occurrence path used to select instance-specific references.
sheet_name: String§project_variables: SchematicPlotVariables§worksheet_source: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for SchematicPlotContext
impl Clone for SchematicPlotContext
Source§fn clone(&self) -> SchematicPlotContext
fn clone(&self) -> SchematicPlotContext
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 moreSource§impl Debug for SchematicPlotContext
impl Debug for SchematicPlotContext
Source§impl Default for SchematicPlotContext
impl Default for SchematicPlotContext
Source§impl PartialEq for SchematicPlotContext
impl PartialEq for SchematicPlotContext
impl StructuralPartialEq for SchematicPlotContext
Auto Trait Implementations§
impl Freeze for SchematicPlotContext
impl RefUnwindSafe for SchematicPlotContext
impl Send for SchematicPlotContext
impl Sync for SchematicPlotContext
impl Unpin for SchematicPlotContext
impl UnsafeUnpin for SchematicPlotContext
impl UnwindSafe for SchematicPlotContext
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