Skip to main content

ToValue

Trait ToValue 

Source
pub trait ToValue {
    // Required method
    fn to_value(&self) -> Value;
}

Required Methods§

Source

fn to_value(&self) -> Value

Implementations on Foreign Types§

Source§

impl ToValue for f32

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for f64

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for i8

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for i16

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for i32

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for i64

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for i128

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for u8

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for u16

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for u32

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for u64

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for u128

Source§

fn to_value(&self) -> Value

Implementors§