Docs.rs
  • napi-2.0.0-beta.3
    • napi 2.0.0-beta.3
    • 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.27 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
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
☰
logo

Trait NapiValue

Required Methods

from_rawfrom_raw_unchecked

Implementors

Other items in
napi

logo
Change settings

Trait napi::NapiValue[−][src]

pub trait NapiValue: Sized + NapiRaw {
    unsafe fn from_raw(env: napi_env, value: napi_value) -> Result<Self>;
unsafe fn from_raw_unchecked(env: napi_env, value: napi_value) -> Self; }

Required methods

[src]

unsafe fn from_raw(env: napi_env, value: napi_value) -> Result<Self>

[src]

unsafe fn from_raw_unchecked(env: napi_env, value: napi_value) -> Self

Implementors

[src]

impl NapiValue for JsFunction

[src]

impl NapiValue for JsArrayBuffer

[src]

impl NapiValue for JsBigInt

[src]

impl NapiValue for JsBoolean

[src]

impl NapiValue for JsBuffer

[src]

impl NapiValue for JsDataView

[src]

impl NapiValue for JsDate

[src]

impl NapiValue for JsExternal

[src]

impl NapiValue for JsGlobal

[src]

impl NapiValue for JsNull

[src]

impl NapiValue for JsNumber

[src]

impl NapiValue for JsObject

[src]

impl NapiValue for JsString

[src]

impl NapiValue for JsSymbol

[src]

impl NapiValue for JsTimeout

[src]

impl NapiValue for JsTypedArray

[src]

impl NapiValue for JsUndefined

[src]

impl NapiValue for JsUnknown