Derive Macro num_derive::Float

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

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