Trait glsl_lang_pp::processor::fs::FileSystem
source · pub trait FileSystem {
type Error: Error + 'static;
// Required methods
fn canonicalize(&self, path: &Path) -> Result<PathBuf, Self::Error>;
fn exists(&self, path: &Path) -> bool;
fn read(&self, path: &Path) -> Result<Cow<'_, str>, Self::Error>;
}