Expand description
App event and commands API.
Re-exports§
pub use command;pub use command;
Macros§
- command
- Declares new
Commandstatic items. - event
- Declares new
Event<A>static items. - event_
args - Declares new
EventArgstypes.
Structs§
- AnyEvent
- Represents an
Eventwithout the args type. - AppCommand
Args - Arguments for
Command::on_eventhandler closure. - Build
FxHasher - Const rustc-hash hasher.
- Command
- Identifies a command event.
- Command
Args - Event args for command events.
- Command
Handle - A handle to a
Commandsubscription. - Command
Meta - Access to metadata of a command.
- Command
Meta VarId - Unique identifier of a command metadata state variable.
- Command
Param - Represents a reference counted
dyn Anyobject parameter for a command request. - EVENTS
- App events and commands service.
- EVENTS_
L10N - EVENTS L10N integration.
- Event
- Represents an event.
- Event
Handle - Represents an event widget subscription, handler callback or hook.
- Event
Handles - Represents a collection of event handles.
- Event
Propagation Handle - Event propagation handle associated with one or multiple
EventArgs. - Event
Receiver - An event channel receiver.
- Event
Sender - An event update sender that can be used from any thread and without access to
EVENTS.
Enums§
- Command
Scope - Represents the scope of a
Command.
Traits§
- AnyEvent
Args - Methods of
EventArgsthat are object safe. - Command
Info Ext - Adds the
infocommand metadata. - Command
Name Ext - Adds the
namecommand metadata. - Event
Args Event<A>arguments.
Type Aliases§
- Command
Meta Var - Read-write command metadata variable.
- Command
Set - Registered commands set.
- Read
Only Command Meta Var - Read-only command metadata variable.