pub enum RarVersion {
Rar4,
Rar5,
Unknown,
}Expand description
RAR version labels.
Variants§
Rar4
RAR4 archive label.
Rar5
RAR5 archive label.
Unknown
Unknown or intentionally unspecified RAR version.
Implementations§
Trait Implementations§
Source§impl Clone for RarVersion
impl Clone for RarVersion
Source§fn clone(&self) -> RarVersion
fn clone(&self) -> RarVersion
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 RarVersion
impl Debug for RarVersion
Source§impl Default for RarVersion
impl Default for RarVersion
Source§fn default() -> RarVersion
fn default() -> RarVersion
Returns the “default value” for a type. Read more
Source§impl Display for RarVersion
impl Display for RarVersion
Source§impl Hash for RarVersion
impl Hash for RarVersion
Source§impl Ord for RarVersion
impl Ord for RarVersion
Source§fn cmp(&self, other: &RarVersion) -> Ordering
fn cmp(&self, other: &RarVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RarVersion
impl PartialEq for RarVersion
Source§fn eq(&self, other: &RarVersion) -> bool
fn eq(&self, other: &RarVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RarVersion
impl PartialOrd for RarVersion
impl Copy for RarVersion
impl Eq for RarVersion
impl StructuralPartialEq for RarVersion
Auto Trait Implementations§
impl Freeze for RarVersion
impl RefUnwindSafe for RarVersion
impl Send for RarVersion
impl Sync for RarVersion
impl Unpin for RarVersion
impl UnsafeUnpin for RarVersion
impl UnwindSafe for RarVersion
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