pub struct PSArchiveTableItem {
pub compression_type: PSArchiveCompression,
pub block_offset: u32,
pub uncompressed_size: u64,
pub file_offset: u64,
}
Expand description
PSArchiveTableItem is a table of contents table for the Playstation Archive file
Fields§
§compression_type: PSArchiveCompression
compression_type is the compression type of the item
block_offset: u32
block_offset is the offset in blocks of the item
uncompressed_size: u64
uncompressed_size is the uncompressed size of the item
file_offset: u64
file_offset is the file offset of the item
Implementations§
Source§impl PSArchiveTableItem
impl PSArchiveTableItem
pub fn new(compression_type: PSArchiveCompression) -> Self
Trait Implementations§
Source§impl Clone for PSArchiveTableItem
impl Clone for PSArchiveTableItem
Source§fn clone(&self) -> PSArchiveTableItem
fn clone(&self) -> PSArchiveTableItem
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 moreSource§impl Debug for PSArchiveTableItem
impl Debug for PSArchiveTableItem
Source§impl Default for PSArchiveTableItem
impl Default for PSArchiveTableItem
Source§fn default() -> PSArchiveTableItem
fn default() -> PSArchiveTableItem
Returns the “default value” for a type. Read more
Source§impl ParsableContext for PSArchiveTableItem
impl ParsableContext for PSArchiveTableItem
Source§impl PartialEq for PSArchiveTableItem
impl PartialEq for PSArchiveTableItem
impl Eq for PSArchiveTableItem
impl StructuralPartialEq for PSArchiveTableItem
Auto Trait Implementations§
impl Freeze for PSArchiveTableItem
impl RefUnwindSafe for PSArchiveTableItem
impl Send for PSArchiveTableItem
impl Sync for PSArchiveTableItem
impl Unpin for PSArchiveTableItem
impl UnwindSafe for PSArchiveTableItem
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