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 of the layer

type of the layer

Methods

impl Layer
[src]

[src]

create a layer from a String

Trait Implementations

impl Debug for Layer
[src]

[src]

Formats the value using the given formatter.

impl Clone for Layer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Layer
[src]

[src]

Returns the "default value" for a type. Read more

impl Flip for Layer
[src]

[src]

flip me

impl PartialEq for Layer
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl IntoSexp for Layer
[src]

[src]

convert self into a Sexp

impl FromSexp for Layer
[src]

[src]

convert from a symbolic-expression to something

impl Display for Layer
[src]

[src]

Formats the value using the given formatter. Read more