pub trait ProtoPathContext {
// Required methods
fn base_path(&self) -> &Path;
fn asset_io(&self) -> &dyn AssetIo;
fn extensions(&self) -> &[&'static str];
}
Expand description
The context used when processing a ProtoPath
;
Required Methods§
Sourcefn extensions(&self) -> &[&'static str]
fn extensions(&self) -> &[&'static str]
The allowable extensions as defined in the respective Config
.