[−][src]Struct fs3ds::IVFCReader
Fields
file: Arc<Mutex<T>>
dir_metadata_part_offset: u32
file_metadata_part_offset: u32
first_dir_metadata: DirectoryMetadata
file_data_offset: u32
Methods
impl<T: Read + Seek> IVFCReader<T>
[src]
pub fn new(file: T) -> Result<IVFCReader<T>, IVFCError>
[src]
pub fn get_child(
&self,
dir: &DirectoryMetadata,
path: &str
) -> Result<DirectoryOrFile, IVFCError>
[src]
&self,
dir: &DirectoryMetadata,
path: &str
) -> Result<DirectoryOrFile, IVFCError>
Return a child by it's name. It may either be a folder or a file
pub fn list_file_child(
&self,
dir: &DirectoryMetadata,
childs: &mut Vec<String>
) -> Result<(), IVFCError>
[src]
&self,
dir: &DirectoryMetadata,
childs: &mut Vec<String>
) -> Result<(), IVFCError>
pub fn list_dir_child(
&self,
dir: &DirectoryMetadata,
childs: &mut Vec<String>
) -> Result<(), IVFCError>
[src]
&self,
dir: &DirectoryMetadata,
childs: &mut Vec<String>
) -> Result<(), IVFCError>
pub fn list_child(
&self,
dir: &DirectoryMetadata
) -> Result<Vec<String>, IVFCError>
[src]
&self,
dir: &DirectoryMetadata
) -> Result<Vec<String>, IVFCError>
pub fn get_file_real_offset(&self, file: &FileMetadata) -> u64
[src]
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for IVFCReader<T>
impl<T> Send for IVFCReader<T> where
T: Send,
T: Send,
impl<T> Sync for IVFCReader<T> where
T: Send,
T: Send,
impl<T> Unpin for IVFCReader<T>
impl<T> UnwindSafe for IVFCReader<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,