Enum gerber_types::MacroDecimal [] [src]

pub enum MacroDecimal {
    Value(f64),
    Variable(u32),
}

A macro decimal can either be an f64 or a variable placeholder.

Variants

A decimal value.

A variable placeholder.

Trait Implementations

impl Debug for MacroDecimal
[src]

Formats the value using the given formatter.

impl PartialEq for MacroDecimal
[src]

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

This method tests for !=.

impl From<f32> for MacroDecimal
[src]

Performs the conversion.

impl From<f64> for MacroDecimal
[src]

Performs the conversion.

impl<W: Write> GerberCode<W> for MacroDecimal
[src]