Skip to main content

impl_number

Macro impl_number 

Source
macro_rules! impl_number {
    ($name:ident, $doc:expr) => { ... };
}
Expand description

Macro to implement common numeric type functionality.

This generates a newtype wrapper around u64 with the Magnitude trait implemented.