[][src]Trait napi::NapiValue

pub trait NapiValue: Sized {
    fn from_raw(env: napi_env, value: napi_value) -> Result<Self>;
fn from_raw_without_typecheck(env: napi_env, value: napi_value) -> Self;
fn raw_value(&self) -> napi_value; }

Required methods

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

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

fn raw_value(&self) -> napi_value

Loading content...

Implementors

impl NapiValue for JsArrayBuffer[src]

impl NapiValue for JsBoolean[src]

impl NapiValue for JsBuffer[src]

impl NapiValue for JsExternal[src]

impl NapiValue for JsFunction[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 JsUndefined[src]

impl NapiValue for JsUnknown[src]

impl<A: NapiValue, B: NapiValue> NapiValue for Either<A, B>[src]

Loading content...