num_derive

Derive Macro Num

source
#[derive(Num)]
{
    // Attributes available to this derive:
    #[num_traits]
}
Expand description

Derives num_traits::Num for newtypes. The inner type must already implement Num.