Function tab
fn tab<Input, Error>(input: &mut Input) -> Result<char, Error>
where
Input: StreamIsPartial + Stream + Compare<char>,
Error: ParserError<Input>
Matches a tab character '\t'.
Complete version: Will return an error if there's not enough input data.
[Partial version][crate::_topic::partial]: Will return Err(winnow::error::ErrMode::Incomplete(_)) if there's not enough input data.
Effective Signature
Assuming you are parsing a &str [Stream]:
# use *;;
#
Example
# use *;
# use tab;
assert_eq!;
assert!;
assert!;
# use *;
# use ;
# use Partial;
# use tab;
assert_eq!;
assert!;
assert_eq!;