pub type UIActionHandler = *mut DynBlock<dyn Fn(NonNull<UIAction>)>;
UIAction
UIMenuElement
block2
Apple’s documentation