Struct gerber_types::CoordinateNumber [] [src]

pub struct CoordinateNumber { /* fields omitted */ }

Coordinate numbers are integers conforming to the rules set by the FS command.

Coordinate numbers are integers. Explicit decimal points are not allowed.

A coordinate number must have at least one character. Zero therefore must be encoded as 0.

The value is stored as a 64 bit integer with 6 decimal places.

Methods

impl CoordinateNumber
[src]

Trait Implementations

impl Debug for CoordinateNumber
[src]

Formats the value using the given formatter.

impl PartialEq for CoordinateNumber
[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 CoordinateNumber
[src]

impl Copy for CoordinateNumber
[src]

impl Clone for CoordinateNumber
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl TryFrom<f64> for CoordinateNumber
[src]

The error type produced by a failed conversion.

Convert the given value into the subject type.

impl Into<f64> for CoordinateNumber
[src]

Performs the conversion.

impl From<i8> for CoordinateNumber
[src]

Performs the conversion.

impl From<i16> for CoordinateNumber
[src]

Performs the conversion.

impl From<i32> for CoordinateNumber
[src]

Performs the conversion.

impl From<u8> for CoordinateNumber
[src]

Performs the conversion.

impl From<u16> for CoordinateNumber
[src]

Performs the conversion.