Trait RoutePathBuilder

Source
pub trait RoutePathBuilder {
    // Required method
    fn build(
        &self,
        _source_relative: &Path,
        _source_path: &Path,
        _route_prefix_hint: Option<&Path>,
        _route_infix_hint: Option<&Path>,
    ) -> BuilderResult<PathBuf>;
}

Required Methods§

Source

fn build( &self, _source_relative: &Path, _source_path: &Path, _route_prefix_hint: Option<&Path>, _route_infix_hint: Option<&Path>, ) -> BuilderResult<PathBuf>

Implementations on Foreign Types§

Source§

impl RoutePathBuilder for (bool, &str)

Source§

fn build( &self, _source_relative: &Path, _source_path: &Path, _route_prefix_hint: Option<&Path>, _route_infix_hint: Option<&Path>, ) -> BuilderResult<PathBuf>

Source§

impl RoutePathBuilder for ()

Source§

fn build( &self, _source_relative: &Path, _source_path: &Path, _route_prefix_hint: Option<&Path>, _route_infix_hint: Option<&Path>, ) -> BuilderResult<PathBuf>

Implementors§