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

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

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