Struct kicad_parse_gen::footprint::Layer
[−]
[src]
pub struct Layer { pub side: LayerSide, pub t: LayerType, }
a pcb layer, with a side and a type
Fields
side: LayerSide
side of the layer
t: LayerType
type of the layer
Methods
impl Layer
[src]
fn from_string(s: &str) -> SResult<Layer>
[src]
create a layer from a String
Trait Implementations
impl Debug for Layer
[src]
impl Clone for Layer
[src]
fn clone(&self) -> Layer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Layer
[src]
impl Flip for Layer
[src]
impl PartialEq for Layer
[src]
fn eq(&self, other: &Layer) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.