Mention enums in the README

This commit is contained in:
Alex Crichton 2018-02-26 15:32:07 -08:00
parent 00115c6e7d
commit 90882bb06f

View File

@ -398,6 +398,7 @@ are:
* Borrowed strings (`&str`)
* Owned strings (`String`)
* Exported structs (`Foo`, annotated with `#[wasm_bindgen]`)
* Exported C-like enums (`Foo`, annotated with `#[wasm_bindgen]`)
* Imported types in a foreign module annotated with `#[wasm_bindgen]`
* Borrowed exported structs (`&Foo` or `&mut Bar`)
* The `JsValue` type and `&JsValue` (not mutable references)