Struct object::read::archive::ArchiveFile
source · pub struct ArchiveFile<'data, R: ReadRef<'data> = &'data [u8]> { /* private fields */ }
Expand description
A partially parsed archive file.
Implementations§
source§impl<'data, R: ReadRef<'data>> ArchiveFile<'data, R>
impl<'data, R: ReadRef<'data>> ArchiveFile<'data, R>
sourcepub fn kind(&self) -> ArchiveKind
pub fn kind(&self) -> ArchiveKind
Return the archive format.
sourcepub fn members(&self) -> ArchiveMemberIterator<'data, R> ⓘ
pub fn members(&self) -> ArchiveMemberIterator<'data, R> ⓘ
Iterate over the members of the archive.
This does not return special members.
Trait Implementations§
source§impl<'data, R: Clone + ReadRef<'data>> Clone for ArchiveFile<'data, R>
impl<'data, R: Clone + ReadRef<'data>> Clone for ArchiveFile<'data, R>
source§fn clone(&self) -> ArchiveFile<'data, R>
fn clone(&self) -> ArchiveFile<'data, R>
Returns a copy 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 moreimpl<'data, R: Copy + ReadRef<'data>> Copy for ArchiveFile<'data, R>
Auto Trait Implementations§
impl<'data, R> Freeze for ArchiveFile<'data, R>where
R: Freeze,
impl<'data, R> RefUnwindSafe for ArchiveFile<'data, R>where
R: RefUnwindSafe,
impl<'data, R> Send for ArchiveFile<'data, R>where
R: Send,
impl<'data, R> Sync for ArchiveFile<'data, R>where
R: Sync,
impl<'data, R> Unpin for ArchiveFile<'data, R>where
R: Unpin,
impl<'data, R> UnwindSafe for ArchiveFile<'data, R>where
R: UnwindSafe,
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