pub trait PreprocessorExt<F: FileSystem> {
// Required methods
fn open(
&mut self,
path: impl AsRef<Path>,
) -> Result<File<'_, '_, F>, F::Error>;
fn open_source(
&mut self,
source: &str,
path: impl AsRef<Path>,
) -> File<'_, '_, F>;
}
Expand description
glsl-lang-pp preprocessor extensions
Required Methods§
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.