Trait HasEof
combinedfun::traits
pub trait HasEof { fn at_eof(&self) -> bool; }
This trait allows checking if an input has reached its end.
fn at_eof(&self) -> bool
impl<'a> HasEof for &'a str
impl<'a, T> HasEof for &'a [T]
impl<I: HasEof, P> HasEof for Span<I, P>