LocatedSpan has been designed to wrap any input type. By default it wraps &str and &[u8] but it should work with any other types.
To do so, all you need is to ensure that your input type implements these traits:
nom::InputLengthnom::Slicenom::InputIternom::Comparenom::Offsetnom::CompareResultnom::FindSubstringnom::ParseTonom::AsBytesAnd ensure that what represents a char in your input type implements nom::FindToken.
Then you may use all the impl_* macros exposed by the library (see the crate documentation).
get_column is not accurateYour input probably doesn‘t have ASCII characters only. You’d probably better use get_column_utf8 when your input is contains UTF-8 extensions, having in mind that it is much slower.