pub struct PakFile { /* private fields */ }
Implementations
sourceimpl PakFile
impl PakFile
pub fn load_any<A: Archive + Seek>(ar: &mut A) -> Result<Self>
pub fn load_any_with_key<A: Archive + Seek>(
ar: &mut A,
key: &str
) -> Result<Self>
pub fn load_version<A: Archive + Seek>(
ar: &mut A,
version: PakVersion
) -> Result<Self>
pub fn load_versions<A: Archive + Seek>(
ar: &mut A,
hash: Option<&str>,
versions: impl Iterator<Item = PakVersion>
) -> Result<Self>
pub fn info(&self) -> &PakInfo
pub fn index(&self) -> &PakIndex
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PakFile
impl Send for PakFile
impl Sync for PakFile
impl Unpin for PakFile
impl UnwindSafe for PakFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more