pub enum RarVersion {
Rar4,
Rar5,
}Expand description
RAR archive version.
Variants§
Implementations§
Source§impl RarVersion
impl RarVersion
Sourcepub fn signature_size(&self) -> usize
pub fn signature_size(&self) -> usize
Returns the signature size for this version.
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 · 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 PartialEq for RarVersion
impl PartialEq 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