Skip to main content

InteractiveElement

Derive Macro InteractiveElement 

Source
#[derive(InteractiveElement)]
{
    // Attributes available to this derive:
    #[interactivity]
}
Expand description

Derives gpui::InteractiveElement for a struct with an #[interactivity] field.

The field must have the type gpui::Interactivity. Mark at most one field.