Function version

Source
pub fn version<I: Span>(input: I) -> Res<I, Version>