Skip to main content

ferroui_reactiveui/binding/command_binding/
mod.rs

1//! `CommandBinding` (ReactiveUI.Binding): the execution of commands from observables
2//! ([`CommandInvoker`]) and the binding of commands to controls ([`CommandBinderService`], with
3//! the binders [`CreatesCommandBindingViaEvent`] and [`CreatesCommandBindingViaCommandParameter`]).
4
5mod command_binder_service;
6mod command_invoker;
7mod creates_command_binding_via_command_parameter;
8mod creates_command_binding_via_event;
9
10pub use command_binder_service::CommandBinderService;
11pub use command_invoker::CommandInvoker;
12pub use creates_command_binding_via_command_parameter::CreatesCommandBindingViaCommandParameter;
13pub use creates_command_binding_via_event::{
14    bind_command_to_event, control_event, ControlEventSubscription, CreatesCommandBindingViaEvent, DEFAULT_COMMAND_EVENTS,
15};