pub trait RealStrRead: StrRead {
    // Required method
    fn pop_str<'a>(&'a mut self) -> Option<&'a str>;
}
Expand description

Represent anything that pops out &str.

Required Methods§

source

fn pop_str<'a>(&'a mut self) -> Option<&'a str>

Remove the next &str and return it.

Returns None if it’s empty.

Implementations on Foreign Types§

source§

impl RealStrRead for str

source§

fn pop_str<'a>(&'a mut self) -> Option<&'a str>

source§

impl<R: RealStrRead + ?Sized> RealStrRead for Box<R>

source§

fn pop_str<'a>(&'a mut self) -> Option<&'a str>

Implementors§

source§

impl<'a, R: RealStrRead> RealStrRead for StrReader<'a, R>