Tuple Fields
0: Rc<F>
Implementations
Trait Implementations
sourceimpl<F: 'static + Fn(), TEvent> IntoJsEventHandler<TEvent> for WrapFn<F, ()>
impl<F: 'static + Fn(), TEvent> IntoJsEventHandler<TEvent> for WrapFn<F, ()>
Fn()
can be handlers for any event
fn into_js_event_handler(self) -> PassedToJsRuntime
sourceimpl<F: 'static + Fn(TEvent), TEvent: FromJs> IntoJsEventHandler<TEvent> for WrapFn<F, (TEvent,)> where
TEvent::Error: Debug,
impl<F: 'static + Fn(TEvent), TEvent: FromJs> IntoJsEventHandler<TEvent> for WrapFn<F, (TEvent,)> where
TEvent::Error: Debug,
Fn(TEvent)
can be handlers for TEvent
fn into_js_event_handler(self) -> PassedToJsRuntime
sourceimpl<TFunc, R> IntoPropValue<WrapFn<TFunc, ()>> for TFunc where
TFunc: Fn() -> R,
impl<TFunc, R> IntoPropValue<WrapFn<TFunc, ()>> for TFunc where
TFunc: Fn() -> R,
fn into_prop_value(self) -> WrapFn<TFunc, ()>
sourceimpl<TFunc: ?Sized, R> IntoPropValue<WrapFn<TFunc, ()>> for Rc<TFunc> where
TFunc: Fn() -> R,
impl<TFunc: ?Sized, R> IntoPropValue<WrapFn<TFunc, ()>> for Rc<TFunc> where
TFunc: Fn() -> R,
fn into_prop_value(self) -> WrapFn<TFunc, ()>
sourceimpl<TFunc: ?Sized, R> IntoPropValue<WrapFn<TFunc, ()>> for &Rc<TFunc> where
TFunc: Fn() -> R,
impl<TFunc: ?Sized, R> IntoPropValue<WrapFn<TFunc, ()>> for &Rc<TFunc> where
TFunc: Fn() -> R,
fn into_prop_value(self) -> WrapFn<TFunc, ()>
sourceimpl<TFunc, A, B, C, D, E, F, G, H, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G, H)>> for TFunc where
TFunc: Fn(A, B, C, D, E, F, G, H) -> R,
impl<TFunc, A, B, C, D, E, F, G, H, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G, H)>> for TFunc where
TFunc: Fn(A, B, C, D, E, F, G, H) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E, F, G, H)>
sourceimpl<TFunc: ?Sized, A, B, C, D, E, F, G, H, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G, H)>> for Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F, G, H) -> R,
impl<TFunc: ?Sized, A, B, C, D, E, F, G, H, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G, H)>> for Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F, G, H) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E, F, G, H)>
sourceimpl<TFunc: ?Sized, A, B, C, D, E, F, G, H, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G, H)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F, G, H) -> R,
impl<TFunc: ?Sized, A, B, C, D, E, F, G, H, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G, H)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F, G, H) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E, F, G, H)>
sourceimpl<TFunc, A, B, C, D, E, F, G, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G)>> for TFunc where
TFunc: Fn(A, B, C, D, E, F, G) -> R,
impl<TFunc, A, B, C, D, E, F, G, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G)>> for TFunc where
TFunc: Fn(A, B, C, D, E, F, G) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E, F, G)>
sourceimpl<TFunc: ?Sized, A, B, C, D, E, F, G, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G)>> for Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F, G) -> R,
impl<TFunc: ?Sized, A, B, C, D, E, F, G, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G)>> for Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F, G) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E, F, G)>
sourceimpl<TFunc: ?Sized, A, B, C, D, E, F, G, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F, G) -> R,
impl<TFunc: ?Sized, A, B, C, D, E, F, G, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F, G)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F, G) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E, F, G)>
sourceimpl<TFunc, A, B, C, D, E, F, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F)>> for TFunc where
TFunc: Fn(A, B, C, D, E, F) -> R,
impl<TFunc, A, B, C, D, E, F, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F)>> for TFunc where
TFunc: Fn(A, B, C, D, E, F) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E, F)>
sourceimpl<TFunc: ?Sized, A, B, C, D, E, F, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F)>> for Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F) -> R,
impl<TFunc: ?Sized, A, B, C, D, E, F, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F)>> for Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E, F)>
sourceimpl<TFunc: ?Sized, A, B, C, D, E, F, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F) -> R,
impl<TFunc: ?Sized, A, B, C, D, E, F, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E, F)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C, D, E, F) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E, F)>
sourceimpl<TFunc, A, B, C, D, E, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E)>> for TFunc where
TFunc: Fn(A, B, C, D, E) -> R,
impl<TFunc, A, B, C, D, E, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E)>> for TFunc where
TFunc: Fn(A, B, C, D, E) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E)>
sourceimpl<TFunc: ?Sized, A, B, C, D, E, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E)>> for Rc<TFunc> where
TFunc: Fn(A, B, C, D, E) -> R,
impl<TFunc: ?Sized, A, B, C, D, E, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E)>> for Rc<TFunc> where
TFunc: Fn(A, B, C, D, E) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E)>
sourceimpl<TFunc: ?Sized, A, B, C, D, E, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C, D, E) -> R,
impl<TFunc: ?Sized, A, B, C, D, E, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D, E)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C, D, E) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D, E)>
sourceimpl<TFunc, A, B, C, D, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D)>> for TFunc where
TFunc: Fn(A, B, C, D) -> R,
impl<TFunc, A, B, C, D, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D)>> for TFunc where
TFunc: Fn(A, B, C, D) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D)>
sourceimpl<TFunc: ?Sized, A, B, C, D, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D)>> for Rc<TFunc> where
TFunc: Fn(A, B, C, D) -> R,
impl<TFunc: ?Sized, A, B, C, D, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D)>> for Rc<TFunc> where
TFunc: Fn(A, B, C, D) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D)>
sourceimpl<TFunc: ?Sized, A, B, C, D, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C, D) -> R,
impl<TFunc: ?Sized, A, B, C, D, R> IntoPropValue<WrapFn<TFunc, (A, B, C, D)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C, D) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C, D)>
sourceimpl<TFunc, A, B, C, R> IntoPropValue<WrapFn<TFunc, (A, B, C)>> for TFunc where
TFunc: Fn(A, B, C) -> R,
impl<TFunc, A, B, C, R> IntoPropValue<WrapFn<TFunc, (A, B, C)>> for TFunc where
TFunc: Fn(A, B, C) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C)>
sourceimpl<TFunc: ?Sized, A, B, C, R> IntoPropValue<WrapFn<TFunc, (A, B, C)>> for Rc<TFunc> where
TFunc: Fn(A, B, C) -> R,
impl<TFunc: ?Sized, A, B, C, R> IntoPropValue<WrapFn<TFunc, (A, B, C)>> for Rc<TFunc> where
TFunc: Fn(A, B, C) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C)>
sourceimpl<TFunc: ?Sized, A, B, C, R> IntoPropValue<WrapFn<TFunc, (A, B, C)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C) -> R,
impl<TFunc: ?Sized, A, B, C, R> IntoPropValue<WrapFn<TFunc, (A, B, C)>> for &Rc<TFunc> where
TFunc: Fn(A, B, C) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B, C)>
sourceimpl<TFunc, A, B, R> IntoPropValue<WrapFn<TFunc, (A, B)>> for TFunc where
TFunc: Fn(A, B) -> R,
impl<TFunc, A, B, R> IntoPropValue<WrapFn<TFunc, (A, B)>> for TFunc where
TFunc: Fn(A, B) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B)>
sourceimpl<TFunc: ?Sized, A, B, R> IntoPropValue<WrapFn<TFunc, (A, B)>> for Rc<TFunc> where
TFunc: Fn(A, B) -> R,
impl<TFunc: ?Sized, A, B, R> IntoPropValue<WrapFn<TFunc, (A, B)>> for Rc<TFunc> where
TFunc: Fn(A, B) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B)>
sourceimpl<TFunc: ?Sized, A, B, R> IntoPropValue<WrapFn<TFunc, (A, B)>> for &Rc<TFunc> where
TFunc: Fn(A, B) -> R,
impl<TFunc: ?Sized, A, B, R> IntoPropValue<WrapFn<TFunc, (A, B)>> for &Rc<TFunc> where
TFunc: Fn(A, B) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A, B)>
sourceimpl<TFunc, A, R> IntoPropValue<WrapFn<TFunc, (A,)>> for TFunc where
TFunc: Fn(A) -> R,
impl<TFunc, A, R> IntoPropValue<WrapFn<TFunc, (A,)>> for TFunc where
TFunc: Fn(A) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A,)>
sourceimpl<TFunc: ?Sized, A, R> IntoPropValue<WrapFn<TFunc, (A,)>> for Rc<TFunc> where
TFunc: Fn(A) -> R,
impl<TFunc: ?Sized, A, R> IntoPropValue<WrapFn<TFunc, (A,)>> for Rc<TFunc> where
TFunc: Fn(A) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A,)>
sourceimpl<TFunc: ?Sized, A, R> IntoPropValue<WrapFn<TFunc, (A,)>> for &Rc<TFunc> where
TFunc: Fn(A) -> R,
impl<TFunc: ?Sized, A, R> IntoPropValue<WrapFn<TFunc, (A,)>> for &Rc<TFunc> where
TFunc: Fn(A) -> R,
fn into_prop_value(self) -> WrapFn<TFunc, (A,)>
sourceimpl<TFunc, R> SafeIntoJsRuntime for WrapFn<TFunc, ()> where
R: 'static,
TFunc: Fn() -> R + 'static,
dyn Fn() -> R: WasmClosure,
impl<TFunc, R> SafeIntoJsRuntime for WrapFn<TFunc, ()> where
R: 'static,
TFunc: Fn() -> R + 'static,
dyn Fn() -> R: WasmClosure,
WrapFn<TFunc: Fn() -> TR>
fn safe_into_js_runtime(self) -> PassedToJsRuntime
sourceimpl<TFunc, A, R> SafeIntoJsRuntime for WrapFn<TFunc, (A,)> where
A: 'static,
R: 'static,
TFunc: Fn(A) -> R + 'static,
dyn Fn(A) -> R: WasmClosure,
impl<TFunc, A, R> SafeIntoJsRuntime for WrapFn<TFunc, (A,)> where
A: 'static,
R: 'static,
TFunc: Fn(A) -> R + 'static,
dyn Fn(A) -> R: WasmClosure,
WrapFn<TFunc: Fn(A, ) -> TR>
fn safe_into_js_runtime(self) -> PassedToJsRuntime
sourceimpl<TFunc, A, B, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B)> where
A: 'static,
B: 'static,
R: 'static,
TFunc: Fn(A, B) -> R + 'static,
dyn Fn(A, B) -> R: WasmClosure,
impl<TFunc, A, B, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B)> where
A: 'static,
B: 'static,
R: 'static,
TFunc: Fn(A, B) -> R + 'static,
dyn Fn(A, B) -> R: WasmClosure,
WrapFn<TFunc: Fn(A, B, ) -> TR>
fn safe_into_js_runtime(self) -> PassedToJsRuntime
sourceimpl<TFunc, A, B, C, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C)> where
A: 'static,
B: 'static,
C: 'static,
R: 'static,
TFunc: Fn(A, B, C) -> R + 'static,
dyn Fn(A, B, C) -> R: WasmClosure,
impl<TFunc, A, B, C, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C)> where
A: 'static,
B: 'static,
C: 'static,
R: 'static,
TFunc: Fn(A, B, C) -> R + 'static,
dyn Fn(A, B, C) -> R: WasmClosure,
WrapFn<TFunc: Fn(A, B, C, ) -> TR>
fn safe_into_js_runtime(self) -> PassedToJsRuntime
sourceimpl<TFunc, A, B, C, D, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C, D)> where
A: 'static,
B: 'static,
C: 'static,
D: 'static,
R: 'static,
TFunc: Fn(A, B, C, D) -> R + 'static,
dyn Fn(A, B, C, D) -> R: WasmClosure,
impl<TFunc, A, B, C, D, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C, D)> where
A: 'static,
B: 'static,
C: 'static,
D: 'static,
R: 'static,
TFunc: Fn(A, B, C, D) -> R + 'static,
dyn Fn(A, B, C, D) -> R: WasmClosure,
WrapFn<TFunc: Fn(A, B, C, D, ) -> TR>
fn safe_into_js_runtime(self) -> PassedToJsRuntime
sourceimpl<TFunc, A, B, C, D, E, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C, D, E)> where
A: 'static,
B: 'static,
C: 'static,
D: 'static,
E: 'static,
R: 'static,
TFunc: Fn(A, B, C, D, E) -> R + 'static,
dyn Fn(A, B, C, D, E) -> R: WasmClosure,
impl<TFunc, A, B, C, D, E, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C, D, E)> where
A: 'static,
B: 'static,
C: 'static,
D: 'static,
E: 'static,
R: 'static,
TFunc: Fn(A, B, C, D, E) -> R + 'static,
dyn Fn(A, B, C, D, E) -> R: WasmClosure,
WrapFn<TFunc: Fn(A, B, C, D, E, ) -> TR>
fn safe_into_js_runtime(self) -> PassedToJsRuntime
sourceimpl<TFunc, A, B, C, D, E, F, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C, D, E, F)> where
A: 'static,
B: 'static,
C: 'static,
D: 'static,
E: 'static,
F: 'static,
R: 'static,
TFunc: Fn(A, B, C, D, E, F) -> R + 'static,
dyn Fn(A, B, C, D, E, F) -> R: WasmClosure,
impl<TFunc, A, B, C, D, E, F, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C, D, E, F)> where
A: 'static,
B: 'static,
C: 'static,
D: 'static,
E: 'static,
F: 'static,
R: 'static,
TFunc: Fn(A, B, C, D, E, F) -> R + 'static,
dyn Fn(A, B, C, D, E, F) -> R: WasmClosure,
WrapFn<TFunc: Fn(A, B, C, D, E, F, ) -> TR>
fn safe_into_js_runtime(self) -> PassedToJsRuntime
sourceimpl<TFunc, A, B, C, D, E, F, G, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C, D, E, F, G)> where
A: 'static,
B: 'static,
C: 'static,
D: 'static,
E: 'static,
F: 'static,
G: 'static,
R: 'static,
TFunc: Fn(A, B, C, D, E, F, G) -> R + 'static,
dyn Fn(A, B, C, D, E, F, G) -> R: WasmClosure,
impl<TFunc, A, B, C, D, E, F, G, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C, D, E, F, G)> where
A: 'static,
B: 'static,
C: 'static,
D: 'static,
E: 'static,
F: 'static,
G: 'static,
R: 'static,
TFunc: Fn(A, B, C, D, E, F, G) -> R + 'static,
dyn Fn(A, B, C, D, E, F, G) -> R: WasmClosure,
WrapFn<TFunc: Fn(A, B, C, D, E, F, G, ) -> TR>
fn safe_into_js_runtime(self) -> PassedToJsRuntime
sourceimpl<TFunc, A, B, C, D, E, F, G, H, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C, D, E, F, G, H)> where
A: 'static,
B: 'static,
C: 'static,
D: 'static,
E: 'static,
F: 'static,
G: 'static,
H: 'static,
R: 'static,
TFunc: Fn(A, B, C, D, E, F, G, H) -> R + 'static,
dyn Fn(A, B, C, D, E, F, G, H) -> R: WasmClosure,
impl<TFunc, A, B, C, D, E, F, G, H, R> SafeIntoJsRuntime for WrapFn<TFunc, (A, B, C, D, E, F, G, H)> where
A: 'static,
B: 'static,
C: 'static,
D: 'static,
E: 'static,
F: 'static,
G: 'static,
H: 'static,
R: 'static,
TFunc: Fn(A, B, C, D, E, F, G, H) -> R + 'static,
dyn Fn(A, B, C, D, E, F, G, H) -> R: WasmClosure,
WrapFn<TFunc: Fn(A, B, C, D, E, F, G, H, ) -> TR>
fn safe_into_js_runtime(self) -> PassedToJsRuntime
Auto Trait Implementations
impl<F: ?Sized, TArgs> RefUnwindSafe for WrapFn<F, TArgs> where
F: RefUnwindSafe,
TArgs: RefUnwindSafe,
impl<F, TArgs> !Send for WrapFn<F, TArgs>
impl<F, TArgs> !Sync for WrapFn<F, TArgs>
impl<F: ?Sized, TArgs> Unpin for WrapFn<F, TArgs> where
TArgs: Unpin,
impl<F: ?Sized, TArgs> UnwindSafe for WrapFn<F, TArgs> where
F: RefUnwindSafe,
TArgs: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more