pub enum File {
V1(File),
V5(File),
}Variants§
Implementations§
Source§impl File
impl File
pub fn name(&self) -> &str
pub fn creator(&self) -> FourCC
pub fn file_code(&self) -> FourCC
pub fn comment(&self) -> &str
pub fn uses_encryption(&self) -> bool
pub fn has(&self, fork: Fork) -> bool
pub fn uncompressed_size(&self, fork: Fork) -> usize
pub fn compressed_size(&self, fork: Fork) -> usize
pub fn compression_method(&self, fork: Fork) -> Algorithm
pub fn encrypted(&self, fork: Fork) -> bool
pub fn checksum(&self, fork: Fork) -> u16
pub fn offset(&self, fork: Fork) -> u64
pub fn created_at(&self) -> DateTime<Utc>
pub fn modified_at(&self) -> DateTime<Utc>
pub fn index(&self) -> usize
Trait Implementations§
Source§impl ReadableEntry for File
impl ReadableEntry for File
Source§fn algorithm(&self, fork: Fork) -> Algorithm
fn algorithm(&self, fork: Fork) -> Algorithm
Algorithm used to compress the entry’s data or resource fork
Source§fn compressed_size(&self, fork: Fork) -> usize
fn compressed_size(&self, fork: Fork) -> usize
Amount of bytes occupied by the specified fork
Source§fn uncompressed_size(&self, fork: Fork) -> usize
fn uncompressed_size(&self, fork: Fork) -> usize
Size of the fork in bytes after decompression
fn encrypted(&self, fork: Fork) -> bool
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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