Struct kicad_parse_gen::footprint::Xy
[−]
[src]
pub struct Xy { pub x: f64, pub y: f64, pub t: XyType, }
X-Y element
Fields
x: f64
x coordinate
y: f64
y coorginate
t: XyType
the type of X-Y
Methods
impl Xy
[src]
fn new(x: f64, y: f64, t: XyType) -> Xy
create a new X-Y coordinate
fn new_empty(t: XyType) -> Xy
create a new default X-Y coordinate of a certain type
Trait Implementations
impl Debug for Xy
[src]
impl Clone for Xy
[src]
fn clone(&self) -> Xy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more