Variants
No
No preloading at all, filesystem::open will always panic.
Index
Load /index.txt first, and cache all the files specified. Game will not start until all the files will be cached
List(Vec<&'static str>)
Same as Index, but with the files list instead of index.txt
Tar(&'static [u8])
Tar archive contents, usually from include_bytes!
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Cache
impl Send for Cache
impl Sync for Cache
impl Unpin for Cache
impl UnwindSafe for Cache
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