Docs.rs
napi-2.0.0-beta.4
napi 2.0.0-beta.4
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
aqrln
Brooooooklyn
Dependencies
ctor ^0.1
normal
encoding_rs ^0.8
normal
napi-sys ^2.1.0
normal
once_cell ^1
normal
serde ^1
normal
serde_json ^1
normal
tokio ^1
normal
windows ^0.28
normal
Versions
13.77%
of the crate is documented
Go to latest stable release
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Type Definition Object
Methods
get
keys
set
Trait Implementations
TypeName
Other items in
napi
::
bindgen_prelude
?
Type Definition
napi
::
bindgen_prelude
::
Object
[
−
]
[src]
pub type Object =
JsObject
;
Implementations
[src]
impl
Object
[src]
pub fn
get
<K:
AsRef
<
str
>, V:
FromNapiValue
>(
&self,
field: K
) ->
Result
<
Option
<V>>
[src]
pub fn
set
<K:
AsRef
<
str
>, V:
ToNapiValue
>(
&mut self,
field: K,
val: V
) ->
Result
<
()
>
[src]
pub fn
keys
(obj: &
Object
) ->
Result
<
Vec
<
String
>>
Trait Implementations
[src]
impl
TypeName
for
Object
[src]
fn
type_name
() -> &'static
str
[src]
fn
value_type
() ->
ValueType