Struct kicad_parse_gen::symbol_lib::Rectangle
[−]
[src]
pub struct Rectangle { pub x1: i64, pub y1: i64, pub x2: i64, pub y2: i64, pub unit: i64, pub convert: i64, pub thickness: i64, pub fill: Fill, }
draw a rectangle
Fields
x1: i64
x-coordinate of first corner of rectangle
y1: i64
y-coordinate of first corner of rectangle
x2: i64
x-coordinate of second corner of rectangle
y2: i64
y-coordinate of second corner of rectangle
unit: i64
unit ??
convert: i64
convert ???
thickness: i64
thickness of the line
fill: Fill
Fill
of the rectangle
Trait Implementations
impl Debug for Rectangle
[src]
impl Clone for Rectangle
[src]
fn clone(&self) -> Rectangle
[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 Rectangle
[src]
impl Display for Rectangle
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more