#[non_exhaustive]
pub enum ArchiveKind {
Unknown,
Gnu,
Bsd,
Coff,
}
Expand description
The kind of archive format.
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.
Unknown
There are no special files that indicate the archive format.
Gnu
The GNU (or System V) archive format.
Bsd
The BSD archive format.
Coff
The Windows COFF archive format.
Trait Implementations
sourceimpl Clone for ArchiveKind
impl Clone for ArchiveKind
sourcefn clone(&self) -> ArchiveKind
fn clone(&self) -> ArchiveKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ArchiveKind
impl Debug for ArchiveKind
sourceimpl Hash for ArchiveKind
impl Hash for ArchiveKind
sourceimpl PartialEq<ArchiveKind> for ArchiveKind
impl PartialEq<ArchiveKind> for ArchiveKind
impl Copy for ArchiveKind
impl Eq for ArchiveKind
impl StructuralEq for ArchiveKind
impl StructuralPartialEq for ArchiveKind
Auto Trait Implementations
impl RefUnwindSafe for ArchiveKind
impl Send for ArchiveKind
impl Sync for ArchiveKind
impl Unpin for ArchiveKind
impl UnwindSafe for ArchiveKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more