Trait nekolib_doc::io::input::Source

source ·
pub trait Source<R>
where R: BufRead,
{ // Required method fn next_token(&mut self) -> Option<String>; // Provided method fn next_token_unwrap(&mut self) -> String { ... } }

Required Methods§

source

fn next_token(&mut self) -> Option<String>

Provided Methods§

Implementations on Foreign Types§

source§

impl<R, S> Source<R> for &mut S
where R: BufRead, S: Source<R>,

source§

fn next_token(&mut self) -> Option<String>

Implementors§

source§

impl<R> Source<R> for OnceSource<R>
where R: BufRead,