#[non_exhaustive]
pub enum ArchiveKind {
Unknown,
Gnu,
Gnu64,
Bsd,
Bsd64,
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.
Gnu64
The GNU (or System V) archive format with 64-bit symbol table.
Bsd
The BSD archive format.
Bsd64
The BSD archive format with 64-bit symbol table.
This is used for Darwin.
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 moresourceimpl 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
sourcefn eq(&self, other: &ArchiveKind) -> bool
fn eq(&self, other: &ArchiveKind) -> bool
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more