pub struct Reader<R> { /* private fields */ }
Expand description
A reader for a “rgssad” archive file
Implementations§
source§impl<R> Reader<R>
impl<R> Reader<R>
sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Get the inner reader.
source§impl<R> Reader<R>
impl<R> Reader<R>
sourcepub fn read_header(&mut self) -> Result<(), Error>
pub fn read_header(&mut self) -> Result<(), Error>
Read and validate the header.
After this returns, call Reader::read_file
to read through entries.
This function is a NOP if the header has already been read.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Reader<R>where
R: Freeze,
impl<R> RefUnwindSafe for Reader<R>where
R: RefUnwindSafe,
impl<R> Send for Reader<R>where
R: Send,
impl<R> Sync for Reader<R>where
R: Sync,
impl<R> Unpin for Reader<R>where
R: Unpin,
impl<R> UnwindSafe for Reader<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