[−][src]Struct assembly_pack::pk::reader::PackEntryAccessor
A low level random access to the entries
Methods
impl<'b, 'a, T> PackEntryAccessor<'b, 'a, T> where
T: Seek + BufRead,
[src]
T: Seek + BufRead,
pub fn get_file_mut(&'b mut self) -> &'b mut PackFile<'a, T>
[src]
Get a reference to the underlying file
pub fn get_entry(&mut self, index: u32) -> Option<FileResult<PKEntry>>
[src]
Get the specified entry if inside of count
pub fn get_root_entry(&mut self) -> Option<FileResult<PKEntry>>
[src]
Get the root entrys if not empty
Auto Trait Implementations
impl<'b, 'a, T> Send for PackEntryAccessor<'b, 'a, T> where
T: Send,
T: Send,
impl<'b, 'a, T> Unpin for PackEntryAccessor<'b, 'a, T> where
'a: 'b,
'a: 'b,
impl<'b, 'a, T> Sync for PackEntryAccessor<'b, 'a, T> where
T: Sync,
T: Sync,
impl<'b, 'a, T> !UnwindSafe for PackEntryAccessor<'b, 'a, T>
impl<'b, 'a, T> RefUnwindSafe for PackEntryAccessor<'b, 'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,