Struct ggez::filesystem::Filesystem [−][src]
pub struct Filesystem { /* fields omitted */ }
Expand description
A structure that contains the filesystem state and cache.
Implementations
pub fn new(
id: &str,
author: &str,
resources_dir_name: &str,
resources_zip_name: &str
) -> GameResult<Filesystem>
pub fn new(
id: &str,
author: &str,
resources_dir_name: &str,
resources_zip_name: &str
) -> GameResult<Filesystem>
Create a new Filesystem
instance, using the given id
and (on
some platforms) the author
as a portion of the user
directory path. This function is called automatically by
ggez, the end user should never need to call it.