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 zone_connect: Option<i64>,
    pub drill: Option<Drill>,
    pub solder_paste_margin: Option<f64>,
    pub solder_mask_margin: Option<f64>,
    pub clearance: Option<f64>,
    pub thermal_gap: Option<f64>,
}

a pad

Fields

name

type

shape

size

offset

location

layers

associated net

zone connect

drill

solder paste margin

solder mask margin

clearance

thermal gap

Methods

impl Pad
[src]

[src]

create a pad with a name, type and shape

[src]

rename the net of a pad

[src]

set the net of a pad

[src]

set the drill of a pad

Trait Implementations

impl Debug for Pad
[src]

[src]

Formats the value using the given formatter.

impl Clone for Pad
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Flip for Pad
[src]

[src]

flip me

impl Rotate for Pad
[src]

[src]

rotate

impl PartialEq for Pad
[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 BoundingBox for Pad
[src]

[src]

calculate the bounding box of a layout item

impl IntoSexp for Pad
[src]

[src]

convert self into a Sexp

impl FromSexp for Pad
[src]

[src]

convert from a symbolic-expression to something