pub enum DesktopEnvironment {
Show 17 variants
Gnome,
GnomeClassic,
GnomeFlashback,
Kde,
Lxde,
Lxqt,
Mate,
Razor,
Rox,
Tde,
Unity,
Xfce,
Ede,
Cinnamon,
Pantheon,
Old,
Unknown,
}
Expand description
Registered DesktopEnvironment Environments
Variants§
Gnome
Gnome Desktop
GnomeClassic
Gnome Classic Desktop
GnomeFlashback
Gnome Flashback Desktop
Kde
Kde Desktop
Lxde
Lxde Desktop
Lxqt
Lxqt Desktop
Mate
MATÉ Desktop
Razor
Razor-qt Desktop
Rox
Rox Desktop
Tde
Trinity Desktop
Unity
Unity Shell
Xfce
Xfce Desktop
Ede
Ede Desktop
Cinnamon
Cinnamon Desktop
Pantheon
Pantheon Desktop
Old
Legacy menu systems
Unknown
This is for random people making whatever they want… Unknown
is similar to Desktop Entry’s type
Implementations§
Source§impl DesktopEnvironment
impl DesktopEnvironment
Sourcepub fn iter() -> Iter<'static, DesktopEnvironment>
pub fn iter() -> Iter<'static, DesktopEnvironment>
This is to allow people to iterate over the enum
nicely
Sourcepub fn from_string(item: String) -> DesktopEnvironment
pub fn from_string(item: String) -> DesktopEnvironment
Take a String and return a DesktopEnvironment
Trait Implementations§
Source§impl Clone for DesktopEnvironment
impl Clone for DesktopEnvironment
Source§fn clone(&self) -> DesktopEnvironment
fn clone(&self) -> DesktopEnvironment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DesktopEnvironment
impl Debug for DesktopEnvironment
Source§impl Default for DesktopEnvironment
impl Default for DesktopEnvironment
Source§impl Display for DesktopEnvironment
impl Display for DesktopEnvironment
impl Copy for DesktopEnvironment
Auto Trait Implementations§
impl Freeze for DesktopEnvironment
impl RefUnwindSafe for DesktopEnvironment
impl Send for DesktopEnvironment
impl Sync for DesktopEnvironment
impl Unpin for DesktopEnvironment
impl UnwindSafe for DesktopEnvironment
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