pub struct JsCallbackFunction { /* private fields */ }
Expand description
Js callback function
Implementations§
Trait Implementations§
Source§impl JSValue<'_> for JsCallbackFunction
impl JSValue<'_> for JsCallbackFunction
fn label() -> &'static str
fn convert_to_rust( env: &JsEnv, js_value: *mut napi_value__, ) -> Result<JsCallbackFunction, NjError>
impl Send for JsCallbackFunction
impl Sync for JsCallbackFunction
Auto Trait Implementations§
impl Freeze for JsCallbackFunction
impl RefUnwindSafe for JsCallbackFunction
impl Unpin for JsCallbackFunction
impl UnwindSafe for JsCallbackFunction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more