Struct kicad_parse_gen::schematic::ComponentField
[−]
[src]
pub struct ComponentField { pub i: i64, pub value: String, pub orientation: Orientation, pub x: f64, pub y: f64, pub size: i64, pub visible: bool, pub hjustify: Justify, pub vjustify: Justify, pub italic: bool, pub bold: bool, pub name: String, }
a component field
Fields
i: i64
index of component field
value: String
value
orientation: Orientation
orientation
x: f64
X coordinate
y: f64
Y coordinate
size: i64
size
visible: bool
if it is visible
hjustify: Justify
horizontal justification
vjustify: Justify
vertical justification
italic: bool
if it is italic
bold: bool
if it is bold
name: String
name of the component field
Methods
impl ComponentField
[src]
fn new_from(i: i64,
name: String,
value: String,
x: f64,
y: f64)
-> ComponentField
name: String,
value: String,
x: f64,
y: f64)
-> ComponentField
create a component field
Trait Implementations
impl Debug for ComponentField
[src]
impl Clone for ComponentField
[src]
fn clone(&self) -> ComponentField
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more