macro_rules! actions {
($namespace:path, [ $( $(#[$attr:meta])* $name:ident),* $(,)? ]) => { ... };
([ $( $(#[$attr:meta])* $name:ident),* $(,)? ]) => { ... };
}Expand description
Defines unit actions without requiring consumers to depend on GPUI under the
crate name gpui.
GPUI’s original macro spells its derive as gpui::Action, which does not
resolve when GPUI is consumed solely through this facade.