pub struct DecompressedLspk {
pub original_bytes: Vec<u8>,
pub files: Vec<DecompressedFile>,
}Expand description
A successfully decompressed LSPK .pak archive.
Fields§
§original_bytes: Vec<u8>§files: Vec<DecompressedFile>Implementations§
Source§impl DecompressedLspk
impl DecompressedLspk
Sourcepub fn extract_meta_lsx(self) -> Result<DecompressedFile>
pub fn extract_meta_lsx(self) -> Result<DecompressedFile>
Looks for a file a file called meta.lsx within a subdirectory of the Mods directory
contained in the archive and attempts to deserialize it.
Trait Implementations§
Source§impl Clone for DecompressedLspk
impl Clone for DecompressedLspk
Source§fn clone(&self) -> DecompressedLspk
fn clone(&self) -> DecompressedLspk
Returns a duplicate of the value. Read more
1.0.0 · 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 DecompressedLspk
impl RefUnwindSafe for DecompressedLspk
impl Send for DecompressedLspk
impl Sync for DecompressedLspk
impl Unpin for DecompressedLspk
impl UnwindSafe for DecompressedLspk
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