pub const fn layer_fn<C, FN>(f: FN) -> LayerFn<C, FN>Expand description
Creates a FactoryLayer from a closure, simplifying the creation of custom layers.
This function allows for easy creation of FactoryLayer implementations without
explicitly defining new structs.