pub trait ToNumeric {
// Required methods
fn to_integer(self) -> Integer;
fn to_continuous(self) -> Continuous;
}Expand description
Trait for converting to numeric values.
Required Methods§
Sourcefn to_integer(self) -> Integer
fn to_integer(self) -> Integer
Convert to an integer value.
Sourcefn to_continuous(self) -> Continuous
fn to_continuous(self) -> Continuous
Convert to a continuous value.