Enum makepad_widgets::shader::std::Menu
pub enum Menu {
Main {
items: Vec<Menu, Global>,
},
Item {
name: String,
command: MenuCommand,
},
Sub {
name: String,
items: Vec<Menu, Global>,
},
Line,
}
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Menu
impl Send for Menu
impl Sync for Menu
impl Unpin for Menu
impl UnwindSafe for Menu
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