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