Trait mixed_num::MixedNumConversion [−][src]
pub trait MixedNumConversion<T> {
fn mixed_from_num(number: T) -> Self;
fn mixed_to_num(&self) -> T;
}Required methods
fn mixed_from_num(number: T) -> Self
fn mixed_from_num(number: T) -> Self
Generic type cast from numeric type T.
fn mixed_to_num(&self) -> T
fn mixed_to_num(&self) -> T
Generic type cast to numeric type T.
