Enum ui2::ContextMenuItem
source · pub enum ContextMenuItem {
Separator(ListSeparator),
Header(ListSubHeader),
Entry(ListItem, Rc<dyn Fn(&ClickEvent, &mut WindowContext<'_>)>),
}
Variants§
Separator(ListSeparator)
Header(ListSubHeader)
Entry(ListItem, Rc<dyn Fn(&ClickEvent, &mut WindowContext<'_>)>)
Auto Trait Implementations§
impl !RefUnwindSafe for ContextMenuItem
impl !Send for ContextMenuItem
impl !Sync for ContextMenuItem
impl Unpin for ContextMenuItem
impl !UnwindSafe for ContextMenuItem
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more