pub type ConfigMatchmaker = Matchmaker<ConfigMMItem, Segmented<Either<String, Text<'static>>>>;Aliased Type§
pub struct ConfigMatchmaker {
pub worker: Worker<Indexed<Segmented<Either<String, Text<'static>>>>>,
pub render_config: RenderConfig,
pub tui_config: TerminalConfig,
pub exit_config: ExitConfig,
pub selector: Selector<Indexed<Segmented<Either<String, Text<'static>>>>, Segmented<Either<String, Text<'static>>>>,
pub event_handlers: EventHandlers<Indexed<Segmented<Either<String, Text<'static>>>>, Segmented<Either<String, Text<'static>>>>,
pub interrupt_handlers: InterruptHandlers<Indexed<Segmented<Either<String, Text<'static>>>>, Segmented<Either<String, Text<'static>>>>,
}Fields§
§worker: Worker<Indexed<Segmented<Either<String, Text<'static>>>>>§render_config: RenderConfig§tui_config: TerminalConfig§exit_config: ExitConfig§selector: Selector<Indexed<Segmented<Either<String, Text<'static>>>>, Segmented<Either<String, Text<'static>>>>§event_handlers: EventHandlers<Indexed<Segmented<Either<String, Text<'static>>>>, Segmented<Either<String, Text<'static>>>>§interrupt_handlers: InterruptHandlers<Indexed<Segmented<Either<String, Text<'static>>>>, Segmented<Either<String, Text<'static>>>>Implementations§
Source§impl ConfigMatchmaker
impl ConfigMatchmaker
Sourcepub fn new_from_config(
render_config: RenderConfig,
tui_config: TerminalConfig,
worker_config: WorkerConfig,
exit_config: ExitConfig,
) -> (Self, ConfigInjector, OddEnds)
pub fn new_from_config( render_config: RenderConfig, tui_config: TerminalConfig, worker_config: WorkerConfig, exit_config: ExitConfig, ) -> (Self, ConfigInjector, OddEnds)
Creates a new Matchmaker from a config::BaseConfig.