Skip to main content

on

Attribute Macro on 

Source
#[on]
Expand description

Takes no arguments: naming the event again could only disagree with the argument’s type.