Struct gerber_types::CoordinateFormat
[−]
[src]
pub struct CoordinateFormat { pub integer: u8, pub decimal: u8, }
The coordinate format specifies the number of integer and decimal places in
a coordinate number. For example, the 24
format specifies 2 integer and 4
decimal places. The number of decimal places must be 4, 5 or 6. The number
of integer places must be not more than 6. Thus the longest representable
coordinate number is nnnnnn.nnnnnn
.
Fields
integer: u8
decimal: u8
Methods
impl CoordinateFormat
[src]
Trait Implementations
impl Debug for CoordinateFormat
[src]
impl Copy for CoordinateFormat
[src]
impl Clone for CoordinateFormat
[src]
fn clone(&self) -> CoordinateFormat
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
impl PartialEq for CoordinateFormat
[src]
fn eq(&self, __arg_0: &CoordinateFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CoordinateFormat) -> bool
This method tests for !=
.