Source

Trait 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,