pub trait AppSet {
// Required methods
fn get_apps(&self) -> Vec<App>;
fn iter_mut_apps(&mut self) -> Box<dyn Iterator<Item = &mut App> + '_>;
fn get_system_app_id(&self) -> &str;
}Expand description
The trait for the platform-specific AppSet to implement.
Required Methods§
fn get_apps(&self) -> Vec<App>
fn iter_mut_apps(&mut self) -> Box<dyn Iterator<Item = &mut App> + '_>
fn get_system_app_id(&self) -> &str
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".