pub struct SchematicPlacedField {
pub key: String,
pub value: String,
pub at: Option<SchematicPoint>,
pub angle_degrees: f64,
pub effects: Option<KiCadTextEffects>,
pub visible: bool,
pub private: bool,
pub show_name: bool,
}Expand description
Authored placed field facts. at is in native schematic internal units in
the source’s sheet frame; it is not transformed into an owner’s local frame.
Visibility reflects source hide flags; font size and private/editor behavior
remain explicit facts for the consumer to interpret.
Fields§
§key: String§value: String§at: Option<SchematicPoint>§angle_degrees: f64§effects: Option<KiCadTextEffects>§visible: bool§private: bool§show_name: boolImplementations§
Source§impl SchematicPlacedField
impl SchematicPlacedField
Sourcepub fn effective_frame(
&self,
symbol: &SchematicPlacedSymbol,
) -> Result<SchematicFieldFrame, SourceBundleError>
pub fn effective_frame( &self, symbol: &SchematicPlacedSymbol, ) -> Result<SchematicFieldFrame, SourceBundleError>
Geometry-only equivalent of SCH_FIELD::GetDrawRotation and its
transformed alignment vectors (IsHorizJustifyFlipped,
IsVertJustifyFlipped, KiCad 10.0.8). No font metrics, text
measurement, source-position rewrite or model-frame conversion occurs.
Trait Implementations§
Source§impl Clone for SchematicPlacedField
impl Clone for SchematicPlacedField
Source§fn clone(&self) -> SchematicPlacedField
fn clone(&self) -> SchematicPlacedField
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 SchematicPlacedField
impl Debug for SchematicPlacedField
Source§impl PartialEq for SchematicPlacedField
impl PartialEq for SchematicPlacedField
impl StructuralPartialEq for SchematicPlacedField
Auto Trait Implementations§
impl Freeze for SchematicPlacedField
impl RefUnwindSafe for SchematicPlacedField
impl Send for SchematicPlacedField
impl Sync for SchematicPlacedField
impl Unpin for SchematicPlacedField
impl UnsafeUnpin for SchematicPlacedField
impl UnwindSafe for SchematicPlacedField
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