Macro pavex::f

source ·
macro_rules! f {
    ($p:expr) => { ... };
}
Expand description

A macro to convert an unambiguous path into a RawCallable.

§Guide

In the “Cookbook” section of Pavex’s guide on dependency injection you can find a collection of reference examples on how to use f! macro to register different kinds of callables (functions, methods, trait methods, etc.) with a Blueprint.