Function nom_grapheme_clusters::parse::segment
source · pub fn segment<T, A, E>(expected: A) -> impl FnMut(T) -> IResult<T, T::Item, E>where
T: InputIter + InputLength + InputTake,
T::Item: PartialEq<A>,
E: ParseError<T>,
Expand description
Recognizes the given grapheme cluster/segment.