Struct ironworks::ffxiv::FsResource
source · [−]pub struct FsResource { /* private fields */ }
Available on crate feature
ffxiv
only.Expand description
Resource adapter pre-configured to work with on-disk sqpack packages laid out in the FFXIV format.
Implementations
Trait Implementations
sourceimpl Debug for FsResource
impl Debug for FsResource
sourceimpl Resource for FsResource
Available on crate feature sqpack
only.
impl Resource for FsResource
Available on crate feature
sqpack
only.sourcefn path_metadata(&self, path: &str) -> Option<(u8, u8)>
fn path_metadata(&self, path: &str) -> Option<(u8, u8)>
Retrieve the
(repository, category)
for a given SqPack path, or None
if
the path is invalid or does not conform to valid formatting for this resource. Read moresourcefn version(&self, repository: u8) -> Result<String, Error>
fn version(&self, repository: u8) -> Result<String, Error>
Get the version string for a given repository.
sourcefn index(
&self,
repository: u8,
category: u8,
chunk: u8
) -> Result<Self::Index, Error>
fn index(
&self,
repository: u8,
category: u8,
chunk: u8
) -> Result<Self::Index, Error>
Fetches the specified index resource.
Auto Trait Implementations
impl RefUnwindSafe for FsResource
impl Send for FsResource
impl Sync for FsResource
impl Unpin for FsResource
impl UnwindSafe for FsResource
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