AsFilename

Trait AsFilename 

Source
pub trait AsFilename: Sealed { }
Expand description

This trait is implemented for types that can be used as a filename when loading new Library instances.

It is currently sealed and cannot be implemented or its methods called by users of this crate.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AsFilename for &str

Source§

impl AsFilename for &String

Source§

impl AsFilename for &OsStr

Available on crate feature std only.
Source§

impl AsFilename for &OsString

Available on crate feature std only.
Source§

impl AsFilename for &Path

Available on crate feature std only.
Source§

impl AsFilename for &PathBuf

Available on crate feature std only.
Source§

impl AsFilename for String

Source§

impl AsFilename for OsString

Available on crate feature std only.
Source§

impl AsFilename for PathBuf

Available on crate feature std only.

Implementors§