Function gluon_vm::api::typ::make_source
source · pub fn make_source<T>(thread: &Thread) -> Result<String>where
T: DeserializeOwned,Expand description
Generates a Gluon expression for a type that is the Gluon equivalent toT.
Examples
For this T:
struct Address {
street: String,
city: String,
}the following code will be generated:
type Address = { street: String, city: String }
{ Address }