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 a type erased event variable.
- 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 variable.
- Event
Propagation Handle - Event propagation handle associated with one or multiple
EventArgs. - Event
Updates - Event notifications from the last update cycle that notified.
Enums§
- Command
Scope - Represents the scope of a
Command.
Traits§
- AnyEvent
Args - Represents any event update.
- Command
Info Ext - Adds the
infocommand metadata. - Command
Name Ext - Adds the
namecommand metadata. - Event
Args - Represents a strongly typed event update.
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.