Support passing JS objects through Rust

This commit is contained in:
Alex Crichton
2017-12-19 09:25:41 -08:00
parent eda9beae25
commit 946e5317fe
9 changed files with 436 additions and 13 deletions

View File

@ -63,6 +63,8 @@ pub enum Type {
ByValue(String),
ByRef(String),
ByMutRef(String),
JsObject,
JsObjectRef,
}
impl Type {