Struct kicad_parse_gen::footprint::Pad [] [src]

pub struct Pad {
    pub name: String,
    pub t: PadType,
    pub shape: PadShape,
    pub size: Xy,
    pub rect_delta: Option<Xy>,
    pub at: At,
    pub layers: Layers,
    pub net: Option<Net>,
    pub drill: Option<Drill>,
    pub solder_paste_margin: Option<f64>,
    pub solder_mask_margin: Option<f64>,
    pub clearance: Option<f64>,
}

a pad

Fields

name

type

shape

size

offset

location

layers

associated net

drill

solder paste margin

solder mask margin

clearance

Methods

impl Pad
[src]

create a pad with a name, type and shape

rename the net of a pad

set the net of a pad

set the drill of a pad

Trait Implementations

impl Debug for Pad
[src]

Formats the value using the given formatter.

impl Clone for Pad
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl BoundingBox for Pad
[src]

calculate the bounding box of an item

impl IntoSexp for Pad
[src]

convert self into a Sexp