Macro gpui2::actions

source ·
macro_rules! actions {
    () => { ... };
    ( $name:ident ) => { ... };
    ( $name:ident, $($rest:tt)* ) => { ... };
}
Expand description

Defines unit structs that can be used as actions. To use more complex data types as actions, annotate your type with the #[action] macro.