interface Num
pub interface Num :: [
Equatable,
Ordered,
Add<Out = Self>,
Sub<Out = Self>,
Mul<Out = Self>,
Div<Out = Self>,
Rem<Out = Self>,
Display,
Debug,
Parse,
Default
]
Conforms to Equatable, Ordered, Add<Out = Self>, Sub<Out = Self>, Mul<Out = Self>, Div<Out = Self>, Rem<Out = Self>, Display, Debug, Parse, Default.
Every number type: its zero and its one, arithmetic that stays in the type.
Methods
fn isZero(): bool
Returns whether this is the type's zero.