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
[src]
create a new X-Y coordinate
fn new_empty(t: XyType) -> Xy
[src]
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
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Xy
[src]
impl PartialEq for Xy
[src]
fn eq(&self, __arg_0: &Xy) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Xy) -> bool
[src]
This method tests for !=
.