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