Function veloren_common_assets::load_rec_dir
source · pub fn load_rec_dir<T: DirLoadable>(
specifier: &str,
) -> Result<AssetDirHandle<T>, Error>
Expand description
Loads directory and all files in it
§Errors
An error is returned if the given id does not match a valid readable directory.
When loading a directory recursively, directories that can’t be read are ignored.