pub enum DistroVersion {
Wsl1,
Wsl2,
Unknown,
}Variants§
Trait Implementations§
Source§impl Clone for DistroVersion
impl Clone for DistroVersion
Source§fn clone(&self) -> DistroVersion
fn clone(&self) -> DistroVersion
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 DistroVersion
impl Debug for DistroVersion
impl Eq for DistroVersion
Source§impl PartialEq for DistroVersion
impl PartialEq for DistroVersion
Source§fn eq(&self, other: &DistroVersion) -> bool
fn eq(&self, other: &DistroVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DistroVersion
impl Serialize for DistroVersion
impl StructuralPartialEq for DistroVersion
Auto Trait Implementations§
impl Freeze for DistroVersion
impl RefUnwindSafe for DistroVersion
impl Send for DistroVersion
impl Sync for DistroVersion
impl Unpin for DistroVersion
impl UnsafeUnpin for DistroVersion
impl UnwindSafe for DistroVersion
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