Function gluon_vm::api::typ::from_rust

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

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