[][src]Derive Macro num_derive::One

#[derive(One)]
{
    // Attributes available to this derive:
    #[num_traits]
}

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