pub const fn field<P, R, F, A>(
name: &'static str,
func: &'static F,
) -> ExtractFieldInfo<P>where
P: ExtractPlugin,
R: Extract + 'static,
F: ExtractorFn<P, R, A>,
A: 'static,
Expand description
Wrap a function or method to make it usable as a field extractor