Trait rhai::InputStream [−][src]
(INTERNALS) Trait that encapsulates a peekable character input stream.
Exported under the internals
feature only.
Volatile Data Structure
This trait is volatile and may change.
Required methods
fn unget(&mut self, ch: char)
[src]
Un-get a character back into the InputStream
.
The next get_next
or peek_next
will return this character instead.
fn get_next(&mut self) -> Option<char>
[src]
Get the next character from the InputStream
.
fn peek_next(&mut self) -> Option<char>
[src]
Peek the next character in the InputStream
.