pub trait GetTargetPath {
type Item;
// Required method
fn target_path(
&self,
item: &Self::Item,
expected_content_type: &ExpectedContentType,
) -> PathBuf;
}Required Associated Types§
Required Methods§
fn target_path( &self, item: &Self::Item, expected_content_type: &ExpectedContentType, ) -> PathBuf
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".