Trait tylar::NumType
[−]
[src]
pub trait NumType: Into<i64> + Into<i32> + Into<i16> + Into<i8> + Into<isize> { fn new() -> Self; }
Basic trait implemented by all number types.
Required Methods
fn new() -> Self
Creates a new instance of this number type, which is actually a no-op, since
number types are zero-sized. Instances are useful, however, to be converted
into actual integer values, using implementations of the Into
trait.