Derive Macro num_derive::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.