Struct serde::iter::LineColIterator  
            
                [−]
            
        [src]
pub struct LineColIterator<Iter: Iterator<Item=Result<u8>>> {
    // some fields omitted
}Iterator over a byte stream that tracks the current position's line and column.
Methods
impl<Iter: Iterator<Item=Result<u8>>> LineColIterator<Iter>
fn new(iter: Iter) -> LineColIterator<Iter>
Construct a new LineColIterator<Iter>.
fn line(&self) -> usize
Report the current line inside the iterator.
fn col(&self) -> usize
Report the current column inside the iterator.
fn get_ref(&self) -> &Iter
Gets a reference to the underlying iterator.
fn get_mut(&mut self) -> &mut Iter
Gets a mutable reference to the underlying iterator.
fn into_inner(self) -> Iter
Unwraps this LineColIterator, returning the underlying iterator.