pub struct SchImplementation {
pub base: SchPrimitiveBase,
pub description: String,
pub model_name: String,
pub model_type: String,
pub data_files: Vec<String>,
pub is_current: bool,
pub unknown_params: UnknownFields,
}Expand description
SchImplementation (Record 45) - Component model implementation.
Represents a model attached to a component (footprint, simulation model, etc).
Fields§
§base: SchPrimitiveBaseBase primitive fields.
description: StringDescription of the implementation.
model_name: StringModel name (e.g., footprint name).
model_type: StringModel type (e.g., “PCBLIB”, “SIM”, “SI”, “PCB3DLib”).
data_files: Vec<String>Data file references.
is_current: boolWhether this is the current implementation.
unknown_params: UnknownFieldsUnknown parameters (preserved for non-destructive editing).
Trait Implementations§
Source§impl Clone for SchImplementation
impl Clone for SchImplementation
Source§fn clone(&self) -> SchImplementation
fn clone(&self) -> SchImplementation
Returns a duplicate of the value. Read more
1.0.0 · 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 SchImplementation
impl Debug for SchImplementation
Source§impl Default for SchImplementation
impl Default for SchImplementation
Source§fn default() -> SchImplementation
fn default() -> SchImplementation
Returns the “default value” for a type. Read more
Source§impl DumpTree for SchImplementation
impl DumpTree for SchImplementation
Source§fn dump(&self, tree: &mut TreeBuilder)
fn dump(&self, tree: &mut TreeBuilder)
Dump this item to the tree builder.
Source§fn dump_to_string(&self) -> String
fn dump_to_string(&self) -> String
Convenience method to dump to a string.
Source§fn dump_to_string_with_options(&self, options: DumpOptions) -> String
fn dump_to_string_with_options(&self, options: DumpOptions) -> String
Convenience method to dump to a string with options.
Source§impl SchPrimitive for SchImplementation
impl SchPrimitive for SchImplementation
Source§fn record_type_name(&self) -> &'static str
fn record_type_name(&self) -> &'static str
Get the record type name for diagnostics.
Source§fn get_property(&self, name: &str) -> Option<String>
fn get_property(&self, name: &str) -> Option<String>
Get a property value by name (for generic queries).
Source§fn import_from_params(params: &ParameterCollection) -> Result<Self>
fn import_from_params(params: &ParameterCollection) -> Result<Self>
Import primitive data from parameters.
Source§fn export_to_params(&self) -> ParameterCollection
fn export_to_params(&self) -> ParameterCollection
Export primitive data to parameters.
Source§fn owner_index(&self) -> i32
fn owner_index(&self) -> i32
Get the owner index (index of parent primitive in the list).
Source§fn calculate_bounds(&self) -> CoordRect
fn calculate_bounds(&self) -> CoordRect
Calculate the bounding rectangle.
Source§fn location(&self) -> Option<CoordPoint>
fn location(&self) -> Option<CoordPoint>
Get the location (if applicable).
Auto Trait Implementations§
impl Freeze for SchImplementation
impl RefUnwindSafe for SchImplementation
impl Send for SchImplementation
impl Sync for SchImplementation
impl Unpin for SchImplementation
impl UnwindSafe for SchImplementation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more