Skip to main content

ToNumeric

Trait ToNumeric 

Source
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§

Source

fn to_integer(self) -> Integer

Convert to an integer value.

Source

fn to_continuous(self) -> Continuous

Convert to a continuous value.

Implementors§