Struct minifb::UnixMenu
[−]
[src]
pub struct UnixMenu { pub name: String, pub items: Vec<UnixMenuItem>, // some fields omitted }
Used on Unix (Linux, FreeBSD, etc) as menus aren't supported in a native where there. This structure can be used by calling [#get_unix_menus] on Window.
Fields
name: String
Name of the menu
items: Vec<UnixMenuItem>
All items of the menu.
Trait Implementations
impl Clone for UnixMenu
[src]
fn clone(&self) -> UnixMenu
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more