Trait winnow::stream::Location

source ·
pub trait Location {
    // Required method
    fn location(&self) -> usize;
}
Expand description

Number of indices input has advanced since start of parsing

Required Methods§

source

fn location(&self) -> usize

Number of indices input has advanced since start of parsing

Implementors§

source§

impl<I> Location for Located<I>
where I: Clone + Offset,

source§

impl<I> Location for Partial<I>
where I: Location,

source§

impl<I, S> Location for Stateful<I, S>
where I: Location,