IntoValue64

Trait IntoValue64 

Source
pub trait IntoValue64 {
    // Required methods
    fn into_u64(self) -> u64;
    fn into_i64(self) -> i64;
    fn into_f64(self) -> f64;
}
Expand description

A trait for converting to different types

Required Methods§

Source

fn into_u64(self) -> u64

Converts to u64

Source

fn into_i64(self) -> i64

Converts to i64

Source

fn into_f64(self) -> f64

Converts to f64

Implementations on Foreign Types§

Source§

impl IntoValue64 for f64

Source§

fn into_u64(self) -> u64

Source§

fn into_i64(self) -> i64

Source§

fn into_f64(self) -> f64

Source§

impl IntoValue64 for i64

Source§

fn into_u64(self) -> u64

Source§

fn into_i64(self) -> i64

Source§

fn into_f64(self) -> f64

Source§

impl IntoValue64 for u64

Source§

fn into_u64(self) -> u64

Source§

fn into_i64(self) -> i64

Source§

fn into_f64(self) -> f64

Implementors§