Struct rscache::loader::osrs::LocationLoader[][src]

pub struct LocationLoader<'cache> { /* fields omitted */ }
Expand description

Loads location definitions lazily from the current cache.

Implementations

Make a new LocationLoader.

This takes a Cache by references with a 'cache lifetime. All the location definitions are loaded lazily where the &'cache Cache is used to cache them internally on load.

Loads the location data for a particular region.

Also takes a keys: [u32; 4] because the location archive is encrypted with XTEA. The buffer is automatically decoded with the given keys.

Trait Implementations

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

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.