[][src]Derive Macro num_derive::NumCast

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

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