pub fn image_paths<P>(root: P) -> Vec<PathBuf>
Expand description
Returns a vector of PathBuf
representing paths to all images found in the given
directory and all of its subdirectories.
§Arguments
root
- A value that can be converted into aPathBuf
and implements theClone
trait. This is the directory in which the search for images is performed.
§Returns
A vector of PathBuf
representing paths to all images found in the given directory and
all of its subdirectories. The paths are sorted alphabetically.