Docs.rs
  • napi-2.3.2
    • napi 2.3.2
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • aqrln
    • Brooooooklyn
    • Dependencies
      • chrono ^0.4 normal
      • ctor ^0.1 normal
      • encoding_rs ^0.8 normal
      • lazy_static ^1 normal
      • napi-sys ^2.1.0 normal
      • serde ^1 normal
      • serde_json ^1 normal
      • tokio ^1 normal
      • windows ^0.34 normal
    • Versions
    • 14.67% 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
  • 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

logo

NapiValue

Required Methods

  • from_raw
  • from_raw_unchecked

Implementors

In napi

logo
Change settings

Trait napi::NapiValue

source · [−]
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

source

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

source

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

Implementors

source

impl NapiValue for JsDate

source

impl NapiValue for JsFunction

source

impl NapiValue for JsArrayBuffer

source

impl NapiValue for JsBigInt

source

impl NapiValue for JsBoolean

source

impl NapiValue for JsBuffer

source

impl NapiValue for JsDataView

source

impl NapiValue for JsExternal

source

impl NapiValue for JsGlobal

source

impl NapiValue for JsNull

source

impl NapiValue for JsNumber

source

impl NapiValue for JsObject

source

impl NapiValue for JsString

source

impl NapiValue for JsSymbol

source

impl NapiValue for JsTimeout

source

impl NapiValue for JsTypedArray

source

impl NapiValue for JsUndefined

source

impl NapiValue for JsUnknown