Tuple Fields
0: Rc<F>
Implementations
Trait Implementations
sourceimpl<TEvent> IntoJsEventHandler<TEvent> for AnyFn<dyn Fn()>
impl<TEvent> IntoJsEventHandler<TEvent> for AnyFn<dyn Fn()>
Fn()
can be handlers for any event
fn into_js_event_handler(self) -> PassedToJsRuntime
sourceimpl<TEvent: 'static + FromJs> IntoJsEventHandler<TEvent> for AnyFn<dyn Fn(TEvent)> where
TEvent::Error: Debug,
impl<TEvent: 'static + FromJs> IntoJsEventHandler<TEvent> for AnyFn<dyn Fn(TEvent)> where
TEvent::Error: Debug,
Fn(TEvent)
can be handlers for TEvent
fn into_js_event_handler(self) -> PassedToJsRuntime
sourceimpl<F: ?Sized + DynFn, TFunc: 'static + ?Sized + FnOfArgs<F::ArgsTuple, DynFn = F>> IntoPropValue<AnyFn<F>> for Rc<TFunc>
impl<F: ?Sized + DynFn, TFunc: 'static + ?Sized + FnOfArgs<F::ArgsTuple, DynFn = F>> IntoPropValue<AnyFn<F>> for Rc<TFunc>
fn into_prop_value(self) -> AnyFn<F>
sourceimpl<F: ?Sized + DynFn, TFunc: 'static + ?Sized + FnOfArgs<F::ArgsTuple, DynFn = F>> IntoPropValue<AnyFn<F>> for &Rc<TFunc>
impl<F: ?Sized + DynFn, TFunc: 'static + ?Sized + FnOfArgs<F::ArgsTuple, DynFn = F>> IntoPropValue<AnyFn<F>> for &Rc<TFunc>
fn into_prop_value(self) -> AnyFn<F>
sourceimpl<TFunc: 'static + Fn() -> TReturn, TReturn> IntoPropValue<AnyFn<dyn Fn() + 'static>> for TFunc
impl<TFunc: 'static + Fn() -> TReturn, TReturn> IntoPropValue<AnyFn<dyn Fn() + 'static>> for TFunc
fn into_prop_value(self) -> AnyFn<dyn Fn() -> TReturn>
sourceimpl<TFunc: 'static + Fn(A, B, C, D, E, F, G, H) -> TReturn, TReturn, A, B, C, D, E, F, G, H> IntoPropValue<AnyFn<dyn Fn(A, B, C, D, E, F, G, H) + 'static>> for TFunc
impl<TFunc: 'static + Fn(A, B, C, D, E, F, G, H) -> TReturn, TReturn, A, B, C, D, E, F, G, H> IntoPropValue<AnyFn<dyn Fn(A, B, C, D, E, F, G, H) + 'static>> for TFunc
fn into_prop_value(self) -> AnyFn<dyn Fn(A, B, C, D, E, F, G, H) -> TReturn>
sourceimpl<TFunc: 'static + Fn(A, B, C, D, E, F, G) -> TReturn, TReturn, A, B, C, D, E, F, G> IntoPropValue<AnyFn<dyn Fn(A, B, C, D, E, F, G) + 'static>> for TFunc
impl<TFunc: 'static + Fn(A, B, C, D, E, F, G) -> TReturn, TReturn, A, B, C, D, E, F, G> IntoPropValue<AnyFn<dyn Fn(A, B, C, D, E, F, G) + 'static>> for TFunc
fn into_prop_value(self) -> AnyFn<dyn Fn(A, B, C, D, E, F, G) -> TReturn>
sourceimpl<TFunc: 'static + Fn(A, B, C, D, E, F) -> TReturn, TReturn, A, B, C, D, E, F> IntoPropValue<AnyFn<dyn Fn(A, B, C, D, E, F) + 'static>> for TFunc
impl<TFunc: 'static + Fn(A, B, C, D, E, F) -> TReturn, TReturn, A, B, C, D, E, F> IntoPropValue<AnyFn<dyn Fn(A, B, C, D, E, F) + 'static>> for TFunc
fn into_prop_value(self) -> AnyFn<dyn Fn(A, B, C, D, E, F) -> TReturn>
sourceimpl<TFunc: 'static + Fn(A, B, C, D, E) -> TReturn, TReturn, A, B, C, D, E> IntoPropValue<AnyFn<dyn Fn(A, B, C, D, E) + 'static>> for TFunc
impl<TFunc: 'static + Fn(A, B, C, D, E) -> TReturn, TReturn, A, B, C, D, E> IntoPropValue<AnyFn<dyn Fn(A, B, C, D, E) + 'static>> for TFunc
fn into_prop_value(self) -> AnyFn<dyn Fn(A, B, C, D, E) -> TReturn>
sourceimpl<TFunc: 'static + Fn(A, B, C, D) -> TReturn, TReturn, A, B, C, D> IntoPropValue<AnyFn<dyn Fn(A, B, C, D) + 'static>> for TFunc
impl<TFunc: 'static + Fn(A, B, C, D) -> TReturn, TReturn, A, B, C, D> IntoPropValue<AnyFn<dyn Fn(A, B, C, D) + 'static>> for TFunc
fn into_prop_value(self) -> AnyFn<dyn Fn(A, B, C, D) -> TReturn>
sourceimpl<TFunc: 'static + Fn(A, B, C) -> TReturn, TReturn, A, B, C> IntoPropValue<AnyFn<dyn Fn(A, B, C) + 'static>> for TFunc
impl<TFunc: 'static + Fn(A, B, C) -> TReturn, TReturn, A, B, C> IntoPropValue<AnyFn<dyn Fn(A, B, C) + 'static>> for TFunc
fn into_prop_value(self) -> AnyFn<dyn Fn(A, B, C) -> TReturn>
sourceimpl<TFunc: 'static + Fn(A, B) -> TReturn, TReturn, A, B> IntoPropValue<AnyFn<dyn Fn(A, B) + 'static>> for TFunc
impl<TFunc: 'static + Fn(A, B) -> TReturn, TReturn, A, B> IntoPropValue<AnyFn<dyn Fn(A, B) + 'static>> for TFunc
fn into_prop_value(self) -> AnyFn<dyn Fn(A, B) -> TReturn>
sourceimpl<TFunc: 'static + Fn(A) -> TReturn, TReturn, A> IntoPropValue<AnyFn<dyn Fn(A) + 'static>> for TFunc
impl<TFunc: 'static + Fn(A) -> TReturn, TReturn, A> IntoPropValue<AnyFn<dyn Fn(A) + 'static>> for TFunc
fn into_prop_value(self) -> AnyFn<dyn Fn(A) -> TReturn>
sourceimpl<F: ?Sized + DynFn> SafeIntoJsRuntime for AnyFn<F> where
F: 'static + WasmClosure,
impl<F: ?Sized + DynFn> SafeIntoJsRuntime for AnyFn<F> where
F: 'static + WasmClosure,
fn safe_into_js_runtime(self) -> PassedToJsRuntime
Auto Trait Implementations
impl<F: ?Sized> RefUnwindSafe for AnyFn<F> where
F: RefUnwindSafe,
impl<F> !Send for AnyFn<F>
impl<F> !Sync for AnyFn<F>
impl<F: ?Sized> Unpin for AnyFn<F>
impl<F: ?Sized> UnwindSafe for AnyFn<F> where
F: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more