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
Value(f64)
A decimal value.
Variable(u32)
A variable placeholder.
Trait Implementations
impl Debug for MacroDecimal
[src]
impl PartialEq for MacroDecimal
[src]
fn eq(&self, __arg_0: &MacroDecimal) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MacroDecimal) -> bool
This method tests for !=
.