Struct kicad_parse_gen::symbol_lib::Symbol
[−]
[src]
pub struct Symbol { pub name: String, pub reference: String, pub text_offset: f64, pub draw_pinnumber: bool, pub draw_pinname: bool, pub unit_count: i64, pub unit_locked: bool, pub is_power: bool, pub fields: Vec<Field>, pub aliases: Vec<String>, pub draw: Vec<Draw>, }
a symbol
Fields
name: String
name
reference: String
reference
text_offset: f64
text offset
draw_pinnumber: bool
draw pinnumber
draw_pinname: bool
draw pinname
unit_count: i64
unit count
unit_locked: bool
is the unit locked
is_power: bool
is it a power symbol
fields: Vec<Field>
fields
aliases: Vec<String>
aliases
draw: Vec<Draw>
draw
Methods
impl Symbol
[src]
fn new(name: String, reference: String) -> Symbol
create a new symbol
fn set_name(&mut self, name: &str)
set the name of the symbol
Trait Implementations
impl Debug for Symbol
[src]
impl Clone for Symbol
[src]
fn clone(&self) -> Symbol
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