[−][src]Trait nummap::NonZero
A marker trait for types which are NonZero numbers.
Associated Types
Loading content...Required methods
fn new(num: Num) -> Option<Self>
Constructs a new value returning None for 0.
unsafe fn new_unchecked(num: Num) -> Self
Constructs a new value assuming it is not 0.