[][src]Struct assembly_pack::pk::reader::PackEntryAccessor

pub struct PackEntryAccessor<'b, 'a, T> { /* fields omitted */ }

A low level random access to the entries

Methods

impl<'b, 'a, T> PackEntryAccessor<'b, 'a, T> where
    T: Seek + BufRead
[src]

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

impl<'b, 'a, T> Unpin for PackEntryAccessor<'b, 'a, T> where
    'a: 'b, 

impl<'b, 'a, T> Sync for PackEntryAccessor<'b, 'a, T> where
    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

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]