Skip to main content

is_image_path

Function is_image_path 

Source
pub fn is_image_path(path: &Path) -> bool
Expand description

True when path is a file image-mode presents.

Shared by the mode’s claim and its media producer so the two cannot disagree about which files are pictures.