[][src]Trait rhai::InputStream

pub trait InputStream {
    fn unread(&mut self, ch: char);
fn get_next(&mut self) -> Option<char>;
fn peek_next(&mut self) -> Option<char>; }

[INTERNALS] Trait that encapsulates a peekable character input stream. Exported under the internals feature only.

WARNING

This trait is volatile and may change.

Required methods

fn unread(&mut self, ch: char)

fn get_next(&mut self) -> Option<char>

Get the next character

fn peek_next(&mut self) -> Option<char>

Peek the next character

Loading content...

Implementors

Loading content...