Trait plugger_core::Marshall [] [src]

pub trait Marshall {
    type Value;
    fn to_bool(value: Self::Value) -> bool;
fn to_u8(value: Self::Value) -> u8;
fn to_u16(value: Self::Value) -> u16;
fn to_u32(value: Self::Value) -> u32;
fn to_u64(value: Self::Value) -> u64;
fn to_i8(value: Self::Value) -> i8;
fn to_i16(value: Self::Value) -> i16;
fn to_i32(value: Self::Value) -> i32;
fn to_i64(value: Self::Value) -> i64;
fn to_f32(value: Self::Value) -> f32;
fn to_f64(value: Self::Value) -> f64;
fn to_string(value: Self::Value) -> String; }

An object that can marshall Rust values to an arbitrary value.

Associated Types

Required Methods

Implementors