pub struct SqPack<R> { /* private fields */ }
Available on crate feature sqpack only.
Expand description

Representation of a group of SqPack package files forming a single data set.

Implementations

Build a representation of SqPack packages. The provided resource will be queried for lookups as required to fulfil SqPack requests.

Get the version string for the file at path.

Read the file at path from SqPack.

Trait Implementations

Formats the value using the given formatter. Read more
Get the version string for the file at path. A return value of Err(Error::NotFound(ErrorValue::Path(_))) will result in lookups continuing to the next resource. Read more
Get the raw byte data for the file at path. A return value of Err(Error::NotFound(ErrorValue::Path(_))) will result in lookups continuing to the next resource. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.