pub struct SchNetLabel {
pub label: SchLabel,
pub unknown_params: UnknownFields,
}Expand description
Schematic net label primitive - extends label for net naming.
Fields§
§label: SchLabelBase label data (includes graphical base, text, orientation, etc).
unknown_params: UnknownFieldsUnknown parameters (preserved for non-destructive editing).
Trait Implementations§
Source§impl AltiumRecord for SchNetLabel
impl AltiumRecord for SchNetLabel
Source§fn record_type_name() -> &'static str
fn record_type_name() -> &'static str
Human-readable name for this record type.
Source§fn supports_unknown_preservation() -> bool
fn supports_unknown_preservation() -> bool
Whether this record type supports unknown field preservation.
Source§impl Clone for SchNetLabel
impl Clone for SchNetLabel
Source§fn clone(&self) -> SchNetLabel
fn clone(&self) -> SchNetLabel
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 SchNetLabel
impl Debug for SchNetLabel
Source§impl Default for SchNetLabel
impl Default for SchNetLabel
Source§fn default() -> SchNetLabel
fn default() -> SchNetLabel
Returns the “default value” for a type. Read more
Source§impl DumpTree for SchNetLabel
impl DumpTree for SchNetLabel
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 FromParams for SchNetLabel
impl FromParams for SchNetLabel
Source§fn from_params(params: &ParameterCollection) -> Result<Self>
fn from_params(params: &ParameterCollection) -> Result<Self>
Parse this type from a parameter collection.
Source§fn from_params_preserving(
params: &ParameterCollection,
) -> Result<(Self, UnknownFields)>
fn from_params_preserving( params: &ParameterCollection, ) -> Result<(Self, UnknownFields)>
Parse this type and collect unknown parameters for non-destructive editing.
Source§impl SchPrimitive for SchNetLabel
impl SchPrimitive for SchNetLabel
Source§fn location(&self) -> Option<CoordPoint>
fn location(&self) -> Option<CoordPoint>
Get the location (if applicable).
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§impl ToParams for SchNetLabel
impl ToParams for SchNetLabel
Source§fn to_params(&self) -> ParameterCollection
fn to_params(&self) -> ParameterCollection
Export this type to a new parameter collection.
Source§fn append_to_params(&self, params: &mut ParameterCollection)
fn append_to_params(&self, params: &mut ParameterCollection)
Append this type’s parameters to an existing collection. Read more
Auto Trait Implementations§
impl Freeze for SchNetLabel
impl RefUnwindSafe for SchNetLabel
impl Send for SchNetLabel
impl Sync for SchNetLabel
impl Unpin for SchNetLabel
impl UnwindSafe for SchNetLabel
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