Module peek

Module peek 

Source
Expand description

Peekable types

A Peekable is a type that can be used to peek at the current position of a Scanner without advancing the scanner.

Structs§

Peeking
A successful peeking result.
Until
A Peekable that peeks until the given element is found in the Scanner.
UntilEnd
A Peekable that peeks until the end of the Scanner.

Enums§

PeekResult
The result of a peeking operation.

Traits§

Peekable
A type that can be peeked at the current position of a Scanner.

Functions§

peek
Attempt to match a Peekable against the current position of a Scanner.