pub trait Resource {
    type Path: ResourcePath;
    // Required method
    fn resource_path(&mut self) -> &mut Path<Self::Path>;
}Required Associated Types§
Sourcetype Path: ResourcePath
 
type Path: ResourcePath
Type of resource’s path returned in resource_path.