Docs.rs
napi-2.10.12
napi 2.10.12
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
aqrln
Brooooooklyn
Dependencies
anyhow ^1
normal
bitflags ^1
normal
chrono ^0.4
normal
ctor ^0.1
normal
encoding_rs ^0.8
normal
napi-sys ^2.2.3
normal
once_cell ^1.16
normal
serde ^1
normal
serde_json ^1
normal
thread_local ^1
normal
tokio ^1
normal
Versions
40%
of the crate is documented
Go to latest version
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
☰
Object
Methods
get
keys
set
Trait Implementations
TypeName
In napi::bindgen_prelude
?
Type Definition
napi
::
bindgen_prelude
::
Object
source
·
[
−
]
pub type Object =
JsObject
;
Implementations
§
source
§
impl
Object
source
pub fn
get
<K:
AsRef
<
str
>, V:
FromNapiValue
>(&self, field: K) ->
Result
<
Option
<V>>
source
pub fn
set
<K:
AsRef
<
str
>, V:
ToNapiValue
>(
&mut self,
field: K,
val: V
) ->
Result
<
()
>
source
pub fn
keys
(obj: &
Object
) ->
Result
<
Vec
<
String
>>
Trait Implementations
§
source
§
impl
TypeName
for
Object
source
§
fn
type_name
() -> &'static
str
source
§
fn
value_type
() ->
ValueType