[][src]Function gluon_vm::api::typ::from_rust

pub fn from_rust<T>(thread: &Thread) -> Result<(Symbol, ArcType)> where
    T: DeserializeOwned

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