pub trait Connect9<R, C, G, T0, T1, T2, T3, T4, T5, T6, T7, T8>where
(T0, T1, T2, T3, T4, T5, T6, T7, T8): Clone + 'static,
R: 'static,
C: Combiner<R> + 'static,
G: Ord + Send + Sync,{
// Required methods
fn connect_group_position<F>(
&self,
f: F,
group: Group<G>,
pos: Position,
) -> Connection
where F: Fn(T0, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + Sync + 'static;
fn connect_group_position_extended<F>(
&self,
f: F,
group: Group<G>,
pos: Position,
) -> Connection
where F: Fn(Connection, T0, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + Sync + 'static;
// Provided methods
fn connect_group<F>(&self, f: F, group: Group<G>) -> Connection
where F: Fn(T0, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + Sync + 'static { ... }
fn connect_position<F>(&self, f: F, pos: Position) -> Connection
where F: Fn(T0, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + Sync + 'static { ... }
fn connect<F>(&self, f: F) -> Connection
where F: Fn(T0, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + Sync + 'static { ... }
fn connect_group_extended<F>(&self, f: F, group: Group<G>) -> Connection
where F: Fn(Connection, T0, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + Sync + 'static { ... }
fn connect_position_extended<F>(&self, f: F, pos: Position) -> Connection
where F: Fn(Connection, T0, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + Sync + 'static { ... }
fn connect_extended<F>(&self, f: F) -> Connection
where F: Fn(Connection, T0, T1, T2, T3, T4, T5, T6, T7, T8) -> R + Send + Sync + 'static { ... }
}Expand description
Connect trait for signals with slots that accept the corresponding number of arguments.
Required Methods§
Sourcefn connect_group_position<F>(
&self,
f: F,
group: Group<G>,
pos: Position,
) -> Connection
fn connect_group_position<F>( &self, f: F, group: Group<G>, pos: Position, ) -> Connection
Sourcefn connect_group_position_extended<F>(
&self,
f: F,
group: Group<G>,
pos: Position,
) -> Connection
fn connect_group_position_extended<F>( &self, f: F, group: Group<G>, pos: Position, ) -> Connection
Provided Methods§
Sourcefn connect_group<F>(&self, f: F, group: Group<G>) -> Connection
fn connect_group<F>(&self, f: F, group: Group<G>) -> Connection
Connects the slot function f to the given Group at Position::Back. Equivalent to calling
connect_group_position(f, group, Position::Back).
Sourcefn connect_position<F>(&self, f: F, pos: Position) -> Connection
fn connect_position<F>(&self, f: F, pos: Position) -> Connection
Connects the slot function f to Group::Back at the given position. Equivalent to calling
connect_group_position(f, Group::Back, pos).
Sourcefn connect<F>(&self, f: F) -> Connection
fn connect<F>(&self, f: F) -> Connection
Connects the slot function f to Group::Back at Position::Back. Equivalent to calling
connect_group_position(f, Group::Back, Position::Back).
Sourcefn connect_group_extended<F>(&self, f: F, group: Group<G>) -> Connection
fn connect_group_extended<F>(&self, f: F, group: Group<G>) -> Connection
Connects the extended slot function f to the given Group at Position::Back. Equivalent to calling
connect_group_position_extended(f, group, Position::Back).
Sourcefn connect_position_extended<F>(&self, f: F, pos: Position) -> Connection
fn connect_position_extended<F>(&self, f: F, pos: Position) -> Connection
Connects the extended slot function f to Group::Back at the given position. Equivalent to calling
connect_group_position_extended(f, Group::Back, pos).
Sourcefn connect_extended<F>(&self, f: F) -> Connection
fn connect_extended<F>(&self, f: F) -> Connection
Connects the extended slot function f to Group::Back at Position::Back. Equivalent to calling
connect_group_position_extended(f, Group::Back, Position::Back).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.