[][src]Trait cborg::value::ToValue

pub trait ToValue {
    fn to_value(&self) -> Value;
}

Required methods

fn to_value(&self) -> Value

Loading content...

Implementations on Foreign Types

impl ToValue for u32[src]

impl ToValue for u64[src]

impl ToValue for i8[src]

impl ToValue for i32[src]

impl ToValue for i64[src]

impl ToValue for Vec<u8>[src]

impl ToValue for String[src]

impl ToValue for str[src]

impl<'_> ToValue for &'_ str[src]

impl<T> ToValue for Vec<T> where
    T: ToValue
[src]

impl<K, V, S> ToValue for HashMap<K, V, S> where
    K: ToValue,
    V: ToValue
[src]

impl<K, V> ToValue for BTreeMap<K, V> where
    K: ToValue,
    V: ToValue
[src]

impl ToValue for f32[src]

impl ToValue for f64[src]

impl ToValue for bool[src]

Loading content...

Implementors

impl ToValue for Value[src]

Loading content...