pub trait Resource<T>where
T: ResourcePath,{
// Required methods
fn path(&self) -> &str;
fn resource_path(&mut self) -> &mut Path<T>;
}Expand description
Required Methods§
Sourcefn resource_path(&mut self) -> &mut Path<T>
fn resource_path(&mut self) -> &mut Path<T>
Path state that stores match results.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".