[][src]Trait rhai::InputStream

pub trait InputStream {
    pub fn unread(&mut self, ch: char);
pub fn get_next(&mut self) -> Option<char>;
pub 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

pub fn unread(&mut self, ch: char)[src]

pub fn get_next(&mut self) -> Option<char>[src]

Get the next character

pub fn peek_next(&mut self) -> Option<char>[src]

Peek the next character

Loading content...

Implementors

Loading content...