Derive Macro num_derive::NumCast
source · #[derive(NumCast)]
{
// Attributes available to this derive:
#[num_traits]
}
Expand description
Derives num_traits::NumCast
for newtypes. The inner type must already implement
NumCast
.