[][src]Function gluon_vm::api::de::from_value

pub fn from_value<T>(
    thread: &Thread,
    value: Variants,
    typ: &ArcType
) -> Result<T> where
    T: DeserializeOwned

Deserializes T from a gluon value assuming that value is of type typ.