Trait DataType

Source
pub trait DataType: Clone {
    // Required method
    fn get(&self) -> f64;
}

Required Methods§

Source

fn get(&self) -> f64

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl DataType for f32

Source§

fn get(&self) -> f64

Source§

impl DataType for f64

Source§

fn get(&self) -> f64

Source§

impl DataType for i8

Source§

fn get(&self) -> f64

Source§

impl DataType for i16

Source§

fn get(&self) -> f64

Source§

impl DataType for i32

Source§

fn get(&self) -> f64

Source§

impl DataType for i64

Source§

fn get(&self) -> f64

Source§

impl DataType for isize

Source§

fn get(&self) -> f64

Source§

impl DataType for u8

Source§

fn get(&self) -> f64

Source§

impl DataType for u16

Source§

fn get(&self) -> f64

Source§

impl DataType for u32

Source§

fn get(&self) -> f64

Source§

impl DataType for u64

Source§

fn get(&self) -> f64

Source§

impl DataType for usize

Source§

fn get(&self) -> f64

Source§

impl DataType for Duration

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l f32

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l f64

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l i8

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l i16

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l i32

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l i64

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l isize

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l u8

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l u16

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l u32

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l u64

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l usize

Source§

fn get(&self) -> f64

Source§

impl<'l> DataType for &'l Duration

Source§

fn get(&self) -> f64

Implementors§