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
9%
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
napi_h
::
bindgen_prelude
Type Alias
Object
Copy item path
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