Derive Macro num_derive::Zero

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

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