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]

create a Module

append an Element to a Module

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

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

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

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

adjust the At element contained in the module

check if the Module is on the front layer

rename a net

Trait Implementations

impl Debug for Module
[src]

Formats the value using the given formatter.

impl Clone for Module
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl BoundingBox for Module
[src]

calculate the bounding box of a layout item

impl Adjust for Module
[src]

adjust the location of the item

impl IntoSexp for Module
[src]

convert self into a Sexp

impl FromSexp for Module
[src]

convert from a symbolic-expression to something