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

Methods

impl CoordinateFormat
[src]

Trait Implementations

impl Debug for CoordinateFormat
[src]

Formats the value using the given formatter.

impl Copy for CoordinateFormat
[src]

impl Clone for CoordinateFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for CoordinateFormat
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for CoordinateFormat
[src]