Struct nom::AccReader
[−]
[src]
pub struct AccReader<R> { // some fields omitted }
Methods
impl<R: Read> AccReader<R>
fn new(inner: R) -> AccReader<R>
fn with_capacity(cap: usize, inner: R) -> AccReader<R>
fn get_ref(&self) -> &R
Gets a reference to the underlying reader.
fn get_mut(&mut self) -> &mut R
Gets a mutable reference to the underlying reader.
fn into_inner(self) -> R
Unwraps this AccReader
, returning the underlying reader.
Note that any leftover data in the internal buffer is lost.