pub struct ActionRegistry { /* private fields */ }Expand description
The one command surface: every user-invocable behaviour is an Action here, and
both the keymap and the palette are built from this list.
It stayed a plain list of variants rather than growing handlers or context
predicates. Dispatch lives in the application model, binding lives in
termesh-config, and neither needs the registry to own a callback to find its way
here. Dynamic registration was ruled out rather than deferred: ADR-0009 found that
stable ACP has no portable client-owned custom-tool registration, so there is no
caller for it.
Implementations§
Trait Implementations§
Source§impl Debug for ActionRegistry
impl Debug for ActionRegistry
Source§impl Default for ActionRegistry
impl Default for ActionRegistry
Source§fn default() -> ActionRegistry
fn default() -> ActionRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ActionRegistry
impl RefUnwindSafe for ActionRegistry
impl Send for ActionRegistry
impl Sync for ActionRegistry
impl Unpin for ActionRegistry
impl UnsafeUnpin for ActionRegistry
impl UnwindSafe for ActionRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more