FasToWrapper

Trait FasToWrapper 

Source
pub trait FasToWrapper<T> {
    type Output: FasCallable + 'static;

    // Required method
    fn convert(self) -> Self::Output;
}

Required Associated Types§

Source

type Output: FasCallable + 'static

Required Methods§

Source

fn convert(self) -> Self::Output

Implementors§

Source§

impl<T, R> FasToWrapper<R> for T
where T: Fn() -> R + Clone + Send + Sync + 'static, R: Into<FamlValue> + Send + Sync + 'static,

Source§

impl<T, T0, R> FasToWrapper<(T0, R)> for T
where T: Fn(T0) -> R + Clone + Send + Sync + 'static, T0: From<FamlValue> + Send + Sync + 'static, R: Into<FamlValue> + Send + Sync + 'static,

Source§

type Output = FuncWrapper1<T, T0, R>

Source§

impl<T, T0, T1, R> FasToWrapper<(T0, T1, R)> for T
where T: Fn(T0, T1) -> R + Clone + Send + Sync + 'static, T0: From<FamlValue> + Send + Sync + 'static, T1: From<FamlValue> + Send + Sync + 'static, R: Into<FamlValue> + Send + Sync + 'static,

Source§

type Output = FuncWrapper2<T, T0, T1, R>

Source§

impl<T, T0, T1, T2, R> FasToWrapper<(T0, T1, T2, R)> for T
where T: Fn(T0, T1, T2) -> R + Clone + Send + Sync + 'static, T0: From<FamlValue> + Send + Sync + 'static, T1: From<FamlValue> + Send + Sync + 'static, T2: From<FamlValue> + Send + Sync + 'static, R: Into<FamlValue> + Send + Sync + 'static,

Source§

type Output = FuncWrapper3<T, T0, T1, T2, R>

Source§

impl<T, T0, T1, T2, T3, R> FasToWrapper<(T0, T1, T2, T3, R)> for T
where T: Fn(T0, T1, T2, T3) -> R + Clone + Send + Sync + 'static, T0: From<FamlValue> + Send + Sync + 'static, T1: From<FamlValue> + Send + Sync + 'static, T2: From<FamlValue> + Send + Sync + 'static, T3: From<FamlValue> + Send + Sync + 'static, R: Into<FamlValue> + Send + Sync + 'static,

Source§

type Output = FuncWrapper4<T, T0, T1, T2, T3, R>

Source§

impl<T, T0, T1, T2, T3, T4, R> FasToWrapper<(T0, T1, T2, T3, T4, R)> for T
where T: Fn(T0, T1, T2, T3, T4) -> R + Clone + Send + Sync + 'static, T0: From<FamlValue> + Send + Sync + 'static, T1: From<FamlValue> + Send + Sync + 'static, T2: From<FamlValue> + Send + Sync + 'static, T3: From<FamlValue> + Send + Sync + 'static, T4: From<FamlValue> + Send + Sync + 'static, R: Into<FamlValue> + Send + Sync + 'static,

Source§

type Output = FuncWrapper5<T, T0, T1, T2, T3, T4, R>

Source§

impl<T, T0, T1, T2, T3, T4, T5, R> FasToWrapper<(T0, T1, T2, T3, T4, T5, R)> for T
where T: Fn(T0, T1, T2, T3, T4, T5) -> R + Clone + Send + Sync + 'static, T0: From<FamlValue> + Send + Sync + 'static, T1: From<FamlValue> + Send + Sync + 'static, T2: From<FamlValue> + Send + Sync + 'static, T3: From<FamlValue> + Send + Sync + 'static, T4: From<FamlValue> + Send + Sync + 'static, T5: From<FamlValue> + Send + Sync + 'static, R: Into<FamlValue> + Send + Sync + 'static,

Source§

type Output = FuncWrapper6<T, T0, T1, T2, T3, T4, T5, R>

Source§

impl<T, T0, T1, T2, T3, T4, T5, T6, R> FasToWrapper<(T0, T1, T2, T3, T4, T5, T6, R)> for T
where T: Fn(T0, T1, T2, T3, T4, T5, T6) -> R + Clone + Send + Sync + 'static, T0: From<FamlValue> + Send + Sync + 'static, T1: From<FamlValue> + Send + Sync + 'static, T2: From<FamlValue> + Send + Sync + 'static, T3: From<FamlValue> + Send + Sync + 'static, T4: From<FamlValue> + Send + Sync + 'static, T5: From<FamlValue> + Send + Sync + 'static, T6: From<FamlValue> + Send + Sync + 'static, R: Into<FamlValue> + Send + Sync + 'static,

Source§

type Output = FuncWrapper7<T, T0, T1, T2, T3, T4, T5, T6, R>

Source§

impl<T, T0, T1, T2, T3, T4, T5, T6, T7, R> FasToWrapper<(T0, T1, T2, T3, T4, T5, T6, T7, R)> for T
where T: Fn(T0, T1, T2, T3, T4, T5, T6, T7) -> R + Clone + Send + Sync + 'static, T0: From<FamlValue> + Send + Sync + 'static, T1: From<FamlValue> + Send + Sync + 'static, T2: From<FamlValue> + Send + Sync + 'static, T3: From<FamlValue> + Send + Sync + 'static, T4: From<FamlValue> + Send + Sync + 'static, T5: From<FamlValue> + Send + Sync + 'static, T6: From<FamlValue> + Send + Sync + 'static, T7: From<FamlValue> + Send + Sync + 'static, R: Into<FamlValue> + Send + Sync + 'static,

Source§

type Output = FuncWrapper8<T, T0, T1, T2, T3, T4, T5, T6, T7, R>

Source§

impl<T, T0, T1, T2, T3, T4, T5, T6, T7, T8, R> FasToWrapper<(T0, T1, T2, T3, T4, T5, T6, T7, T8, R)> for T
where T: Fn(T0, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Clone + Send + Sync + 'static, T0: From<FamlValue> + Send + Sync + 'static, T1: From<FamlValue> + Send + Sync + 'static, T2: From<FamlValue> + Send + Sync + 'static, T3: From<FamlValue> + Send + Sync + 'static, T4: From<FamlValue> + Send + Sync + 'static, T5: From<FamlValue> + Send + Sync + 'static, T6: From<FamlValue> + Send + Sync + 'static, T7: From<FamlValue> + Send + Sync + 'static, T8: From<FamlValue> + Send + Sync + 'static, R: Into<FamlValue> + Send + Sync + 'static,

Source§

type Output = FuncWrapper9<T, T0, T1, T2, T3, T4, T5, T6, T7, T8, R>