Trait Emit10

Source
pub trait Emit10<R, C, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>{
    type Output;

    // Required method
    fn emit(
        &self,
        a: T0,
        b: T1,
        c: T2,
        d: T3,
        e: T4,
        f: T5,
        g: T6,
        h: T7,
        i: T8,
        j: T9,
    ) -> Self::Output;
}
Expand description

Emit trait for signals with slots that accept the corresponding number of arguments.

Required Associated Types§

Source

type Output

The return value of emit will be C::Output for Signals and Option<C::Output> for EmitHandles

Required Methods§

Source

fn emit( &self, a: T0, b: T1, c: T2, d: T3, e: T4, f: T5, g: T6, h: T7, i: T8, j: T9, ) -> Self::Output

Executes the signal’s underlying slots, passing clones of the given arguments to the slot functions.

Implementors§

Source§

impl<R, C, G, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Emit10<R, C, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> for EmitHandle<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9), R, C, G>

Source§

impl<R, C, G, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Emit10<R, C, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> for Signal<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9), R, C, G>

Source§

type Output = <C as Combiner<R>>::Output