[][src]Trait cborg::value::FromValue

pub trait FromValue {
    fn from_value(v: Value) -> Option<Self>
    where
        Self: Sized
;
fn from_ref(v: &Value) -> Option<Self>
    where
        Self: Sized
; }

Required methods

fn from_value(v: Value) -> Option<Self> where
    Self: Sized

fn from_ref(v: &Value) -> Option<Self> where
    Self: Sized

Loading content...

Implementations on Foreign Types

impl FromValue for u64[src]

impl FromValue for u32[src]

impl FromValue for usize[src]

impl FromValue for i64[src]

impl FromValue for i32[src]

impl FromValue for i8[src]

impl FromValue for isize[src]

impl<K, V, S> FromValue for HashMap<K, V, S> where
    K: FromValue + Eq + Hash,
    V: FromValue,
    S: BuildHasher + Default
[src]

impl<K, V> FromValue for BTreeMap<K, V> where
    K: FromValue + Ord,
    V: FromValue
[src]

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

impl FromValue for Vec<u8>[src]

impl<K, V> FromValue for (K, V) where
    K: FromValue,
    V: FromValue
[src]

impl FromValue for String[src]

impl FromValue for f64[src]

impl FromValue for f32[src]

impl FromValue for bool[src]

Loading content...

Implementors

impl FromValue for Value[src]

Loading content...