#[repr(C)]pub struct DesktopEnvVersion {
pub env: LinuxDesktopEnv,
pub version_id: u32,
}Expand description
A desktop environment together with a numeric version (e.g. GNOME 40).
Used by OsVersionCondition::DesktopEnv{Min,Max,Exact} for @os(linux:gnome > 40) style selectors.
Fields§
§env: LinuxDesktopEnv§version_id: u32Trait Implementations§
Source§impl Clone for DesktopEnvVersion
impl Clone for DesktopEnvVersion
Source§fn clone(&self) -> DesktopEnvVersion
fn clone(&self) -> DesktopEnvVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DesktopEnvVersion
impl Debug for DesktopEnvVersion
Source§impl Hash for DesktopEnvVersion
impl Hash for DesktopEnvVersion
Source§impl PartialEq for DesktopEnvVersion
impl PartialEq for DesktopEnvVersion
Source§fn eq(&self, other: &DesktopEnvVersion) -> bool
fn eq(&self, other: &DesktopEnvVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DesktopEnvVersion
impl Eq for DesktopEnvVersion
impl StructuralPartialEq for DesktopEnvVersion
Auto Trait Implementations§
impl Freeze for DesktopEnvVersion
impl RefUnwindSafe for DesktopEnvVersion
impl Send for DesktopEnvVersion
impl Sync for DesktopEnvVersion
impl Unpin for DesktopEnvVersion
impl UnsafeUnpin for DesktopEnvVersion
impl UnwindSafe for DesktopEnvVersion
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