1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-04-06 12:21:06 +00:00

15 lines
243 B
Rust
Raw Normal View History

2017-12-14 19:31:01 -08:00
#[macro_use]
extern crate serde_derive;
#[derive(Serialize, Deserialize)]
pub struct Function {
pub name: String,
pub arguments: Vec<Type>,
pub ret: Option<Type>,
}
#[derive(Serialize, Deserialize)]
pub enum Type {
Number,
}