pub struct ZipArchiveInner { /* private fields */ }Expand description
An inner store of metadata about a ZIP archive, which can be shared between readers.
Implementations§
Source§impl ZipArchiveInner
impl ZipArchiveInner
Sourcepub fn find<'a>(
&'a self,
file_name: &'a [u8],
) -> Result<impl Iterator<Item = usize> + 'a>
pub fn find<'a>( &'a self, file_name: &'a [u8], ) -> Result<impl Iterator<Item = usize> + 'a>
Finds all the file indexes with the given file name. An iterator is returned because the ZIP specification allows for multiple files with the same file name, and most callers only need the first match.
pub fn cdrs(&self) -> &[CDR]
pub fn options(&self) -> &ZipOptions
pub fn ceocdr(&self) -> &CEOCDR
Trait Implementations§
Source§impl Clone for ZipArchiveInner
impl Clone for ZipArchiveInner
Source§fn clone(&self) -> ZipArchiveInner
fn clone(&self) -> ZipArchiveInner
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 moreAuto Trait Implementations§
impl Freeze for ZipArchiveInner
impl RefUnwindSafe for ZipArchiveInner
impl Send for ZipArchiveInner
impl Sync for ZipArchiveInner
impl Unpin for ZipArchiveInner
impl UnsafeUnpin for ZipArchiveInner
impl UnwindSafe for ZipArchiveInner
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