Struct kicad_parse_gen::footprint::Module [] [src]

pub struct Module {
    pub name: String,
    pub elements: Vec<Element>,
}

a Kicad module, with a name and a list of elements

Fields

name of the Kicad Module

elements contained within the Kicad Module

Methods

impl Module
[src]

[src]

create a Module

[src]

append an Element to a Module

[src]

check if a Module has a reference Element with the specified name

[src]

get the Reference element from the Module if it exists

[src]

get a FpText field by name

[src]

mutably get a FpText field by name

[src]

get the reference FpText

[src]

mutably get the reference FpText

[src]

get the reference2 FpText

[src]

mutably get the reference2 FpText

[src]

mutably get the value FpText

[src]

check if the module has the "smd" attribute

[src]

get the value FpText

[src]

check if a Module has a tstamp Element and return it

[src]

check if a Module has a tedit Element and return it

[src]

update the name of the reference element specified by name, if found

[src]

check if there is an At element and return the coordinates found returns the default of (0.0,0.0) if not found

[src]

check if there is an At element and return the rotation found returns the default of 0.0 if not found

[src]

adjust the At element contained in the module

[src]

check if the Module is on the front layer

[src]

rename a net

[src]

return a list of Pads contained in the module

[src]

return a list of FpLines contained in the module

Trait Implementations

impl Debug for Module
[src]

[src]

Formats the value using the given formatter.

impl Clone for Module
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BoundingBox for Module
[src]

[src]

calculate the bounding box of a layout item

impl Adjust for Module
[src]

[src]

adjust the location of the item

impl Flip for Module
[src]

[src]

flip me

impl Rotate for Module
[src]

[src]

rotate

impl CheckFix for Module
[src]

[src]

check an item against the KLC

[src]

fix up an item against the KLC

impl IntoSexp for Module
[src]

[src]

convert self into a Sexp

impl FromSexp for Module
[src]

[src]

convert from a symbolic-expression to something