#[non_exhaustive]pub enum ArchiveVersion {
Rar13,
Rar14,
Rar15,
Rar20,
Rar29,
Rar30,
Rar40,
Rar50,
Rar70,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl ArchiveVersion
impl ArchiveVersion
pub const fn family(self) -> ArchiveFamily
pub const fn is_rar13_family(self) -> bool
Trait Implementations§
Source§impl Clone for ArchiveVersion
impl Clone for ArchiveVersion
Source§fn clone(&self) -> ArchiveVersion
fn clone(&self) -> ArchiveVersion
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 ArchiveVersion
impl Debug for ArchiveVersion
Source§impl PartialEq for ArchiveVersion
impl PartialEq for ArchiveVersion
Source§fn eq(&self, other: &ArchiveVersion) -> bool
fn eq(&self, other: &ArchiveVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArchiveVersion
impl Eq for ArchiveVersion
impl StructuralPartialEq for ArchiveVersion
Auto Trait Implementations§
impl Freeze for ArchiveVersion
impl RefUnwindSafe for ArchiveVersion
impl Send for ArchiveVersion
impl Sync for ArchiveVersion
impl Unpin for ArchiveVersion
impl UnsafeUnpin for ArchiveVersion
impl UnwindSafe for ArchiveVersion
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