pub struct HostFunction<Output, Args>where
Args: ParameterTuple,
Output: SupportedReturnType,{ /* private fields */ }
Expand description
Re-export for HostFunction
trait
A representation of a host function.
This is a thin wrapper around a Fn(Args) -> Result<Output>
.
Implementations§
Source§impl<Args, Output> HostFunction<Output, Args>where
Args: ParameterTuple,
Output: SupportedReturnType,
impl<Args, Output> HostFunction<Output, Args>where
Args: ParameterTuple,
Output: SupportedReturnType,
Trait Implementations§
Source§impl<Output, Args> Clone for HostFunction<Output, Args>
impl<Output, Args> Clone for HostFunction<Output, Args>
Source§fn clone(&self) -> HostFunction<Output, Args>
fn clone(&self) -> HostFunction<Output, Args>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<F, R> From<F> for HostFunction<R::ReturnType, ()>
impl<F, R> From<F> for HostFunction<R::ReturnType, ()>
Source§fn from(func: F) -> HostFunction<R::ReturnType, ()>
fn from(func: F) -> HostFunction<R::ReturnType, ()>
Converts to this type from the input type.
Source§impl<F, R, P1> From<F> for HostFunction<R::ReturnType, (P1,)>
impl<F, R, P1> From<F> for HostFunction<R::ReturnType, (P1,)>
Source§fn from(func: F) -> HostFunction<R::ReturnType, (P1,)>
fn from(func: F) -> HostFunction<R::ReturnType, (P1,)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2> From<F> for HostFunction<R::ReturnType, (P1, P2)>
impl<F, R, P1, P2> From<F> for HostFunction<R::ReturnType, (P1, P2)>
Source§fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2)>
fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3> From<F> for HostFunction<R::ReturnType, (P1, P2, P3)>
impl<F, R, P1, P2, P3> From<F> for HostFunction<R::ReturnType, (P1, P2, P3)>
Source§fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2, P3)>
fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2, P3)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4)>where
F: FnMut(P1, P2, P3, P4) -> R + Send + 'static,
(P1, P2, P3, P4): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4)>where
F: FnMut(P1, P2, P3, P4) -> R + Send + 'static,
(P1, P2, P3, P4): ParameterTuple,
R: ResultType,
Source§fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2, P3, P4)>
fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2, P3, P4)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5)>where
F: FnMut(P1, P2, P3, P4, P5) -> R + Send + 'static,
(P1, P2, P3, P4, P5): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5)>where
F: FnMut(P1, P2, P3, P4, P5) -> R + Send + 'static,
(P1, P2, P3, P4, P5): ParameterTuple,
R: ResultType,
Source§fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5)>
fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6)>where
F: FnMut(P1, P2, P3, P4, P5, P6) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6)>where
F: FnMut(P1, P2, P3, P4, P5, P6) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6): ParameterTuple,
R: ResultType,
Source§fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6)>
fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7): ParameterTuple,
R: ResultType,
Source§fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7)>
fn from(func: F) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31)>
Converts to this type from the input type.
Source§impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32): ParameterTuple,
R: ResultType,
impl<F, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32> From<F> for HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32)>where
F: FnMut(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32) -> R + Send + 'static,
(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32): ParameterTuple,
R: ResultType,
Source§fn from(
func: F,
) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32)>
fn from( func: F, ) -> HostFunction<R::ReturnType, (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32)>
Converts to this type from the input type.
Auto Trait Implementations§
impl<Output, Args> Freeze for HostFunction<Output, Args>
impl<Output, Args> !RefUnwindSafe for HostFunction<Output, Args>
impl<Output, Args> Send for HostFunction<Output, Args>
impl<Output, Args> Sync for HostFunction<Output, Args>
impl<Output, Args> Unpin for HostFunction<Output, Args>
impl<Output, Args> !UnwindSafe for HostFunction<Output, Args>
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