Enum pixel_widgets::widget::menu::MenuItem [−][src]
pub enum MenuItem<'a, T> {
Item {
content: Node<'a, T>,
on_select: Option<T>,
},
Menu {
content: Node<'a, T>,
items: Vec<MenuItem<'a, T>>,
},
}Expand description
An item in Menu.
Variants
Item
Show fields
Sub menu
Show fields
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for MenuItem<'a, T>
impl<'a, T> Send for MenuItem<'a, T> where
T: Send,
T: Send,
impl<'a, T> !Sync for MenuItem<'a, T>
impl<'a, T> Unpin for MenuItem<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> !UnwindSafe for MenuItem<'a, T>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T