Implement getter/setter bindings

This commit is contained in:
Alex Crichton
2018-02-14 13:16:02 -08:00
parent e72f9e176f
commit 9183236522
6 changed files with 183 additions and 10 deletions

View File

@ -19,6 +19,8 @@ pub struct Import {
pub method: bool,
pub js_new: bool,
pub statik: bool,
pub getter: Option<String>,
pub setter: Option<String>,
pub class: Option<String>,
pub function: Function,
}