Struct libxdgkit::desktop_menu::Menu [−][src]
pub struct Menu { pub filename: String, pub components: Option<Vec<DesktopMenu>>, }
Expand description
The struct abstracting the xml menu file
Fields
filename: String
The filename, including the full path of the file
This is used to create the components
components: Option<Vec<DesktopMenu>>
This is simply an item by item list of components in the menu to be used in any way
Implementations
impl Menu
[src]
impl Menu
[src]pub fn make_components(_file_name: String) -> Option<Vec<DesktopMenu>>
[src]
pub fn make_components(_file_name: String) -> Option<Vec<DesktopMenu>>
[src]Make the enum
component list
pub fn new(file_name: &String) -> Self where
Self: Sized,
[src]
Self: Sized,