IntoValue32

Trait IntoValue32 

Source
pub trait IntoValue32 {
    // Required methods
    fn into_u32(self) -> u32;
    fn into_i32(self) -> i32;
    fn into_f32(self) -> f32;
}
Expand description

A trait for converting to different types

Required Methods§

Source

fn into_u32(self) -> u32

Converts to u32

Source

fn into_i32(self) -> i32

Converts to i32

Source

fn into_f32(self) -> f32

Converts to f32

Implementations on Foreign Types§

Source§

impl IntoValue32 for f32

Source§

fn into_u32(self) -> u32

Source§

fn into_i32(self) -> i32

Source§

fn into_f32(self) -> f32

Source§

impl IntoValue32 for i32

Source§

fn into_u32(self) -> u32

Source§

fn into_i32(self) -> i32

Source§

fn into_f32(self) -> f32

Source§

impl IntoValue32 for u32

Source§

fn into_u32(self) -> u32

Source§

fn into_i32(self) -> i32

Source§

fn into_f32(self) -> f32

Implementors§