shellfn icon indicating copy to clipboard operation
shellfn copied to clipboard

Accept paths as input parameters

Open synek317 opened this issue 4 years ago • 0 comments

Currently, there is impl Display requirement for all input parameters. It would be great to accept parameters like &Path, PathBuf, impl AsRef<Path> etc.

Maybe a trait like IntoDisplay could be helpful. It would be implemented for every T: Display + some others, like Path.

synek317 avatar Mar 28 '21 12:03 synek317