pub const fn from_leaf_fn<'i, F, O>(f: F) -> Fwhere F: Fn(&'i [u8]) -> LeafResult<'i, O> + Leaf<'i, Output = O>,
Coerces the provided function/closure into a Leaf parser.
Leaf
This function exists to help with type inference.