[−][src]Trait node_bindgen::core::val::ExtractFromJs
Required methods
pub fn extract(js_cb: &'a mut JsCallback) -> Result<Self, NjError>
extract from js callback
Provided methods
Loading content...Implementations on Foreign Types
impl<'a, T> 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<Option<T>, NjError>
[src]
Implementors
impl<'_> ExtractFromJs<'_> for JsEnv
[src]
impl<'a, T> ExtractFromJs<'a> for T where
T: JSValue<'a> + ?Sized,
[src]
T: JSValue<'a> + ?Sized,