Trait This
neon::object
pub unsafe trait This: Managed { fn as_this(env: Env, h: Local) -> Self; }
The trait of types that can be a function’s this binding.
this
fn as_this(env: Env, h: Local) -> Self
impl This for JsObject
fn as_this(_env: Env, h: Local) -> Self
impl This for JsUndefined
impl This for JsValue