Docs.rs
napi-h-2.16.1
napi-h 2.16.1
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
h-a-n-a
Dependencies
anyhow ^1
normal
optional
bitflags ^2
normal
chrono ^0.4
normal
optional
ctor ^0.2
normal
encoding_rs ^0.8
normal
optional
indexmap ^2
normal
optional
napi-sys ^2.3.0
normal
once_cell ^1.19
normal
serde ^1
normal
optional
serde_json ^1
normal
optional
tokio ^1
normal
optional
napi-derive ^2.10.1
normal
tokio ^1
normal
optional
Versions
37.5%
of the crate is documented
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
napi_h
2.16.1
Object
Aliased type
Methods
get
keys
set
Trait Implementations
TypeName
In napi_h::bindgen_prelude
?
Type Alias
napi_h
::
bindgen_prelude
::
Object
source
·
[
−
]
pub type Object =
JsObject
;
Aliased Type
§
struct Object(
/* private fields */
);
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