Struct kicad_parse_gen::footprint::FpText
[−]
[src]
pub struct FpText { pub name: String, pub value: String, pub at: At, pub layer: Layer, pub effects: Effects, pub hide: bool, }
text element
Fields
name: String
name
value: String
text
at: At
location
layer: Layer
layer
effects: Effects
text effects
hide: bool
is it a hidden text
Methods
impl FpText
[src]
fn new(name: String, value: String) -> FpText
create a text with given name and value
fn set_effects(&mut self, effects: &Effects)
set the text effects of the text
fn set_layer(&mut self, layer: &Layer)
set the layer of the text
Trait Implementations
impl Debug for FpText
[src]
impl Clone for FpText
[src]
fn clone(&self) -> FpText
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