[−][src]Trait nj_core::val::ExtractFromJs
#[deprecated(since = "4.1.0","No longer used"]
Required methods
pub fn extract(js_cb: &'a mut JsCallback) -> Result<Self, NjError>
[src]
extract from js callback
Provided methods
Loading content...Implementations on Foreign Types
impl<'a, T: Sized> ExtractFromJs<'a> for Option<T> where
T: JSValue<'a>,
[src]
T: JSValue<'a>,
for optional argument
pub fn label() -> &'static str
[src]
pub fn extract(js_cb: &'a mut JsCallback) -> Result<Self, NjError>
[src]
Implementors
impl<'_> ExtractFromJs<'_> for JsEnv
[src]
pub fn extract(js_cb: &mut JsCallback) -> Result<Self, NjError>
[src]
impl<'a, T: ?Sized> ExtractFromJs<'a> for T where
T: JSValue<'a>,
[src]
T: JSValue<'a>,