Function ggez::filesystem::read_dir [−][src]
pub fn read_dir<P: AsRef<Path>>(
ctx: &Context,
path: P
) -> GameResult<Box<dyn Iterator<Item = PathBuf>>>
Expand description
Returns a list of all files and directories in the resource directory, in no particular order.
Lists the base directory if an empty path is given.