Trait pear::input::Rewind

source ·
pub trait Rewind: Sized + Input {
    // Required method
    fn rewind_to(&mut self, marker: Self::Marker);
}

Required Methods§

source

fn rewind_to(&mut self, marker: Self::Marker)

Resets self to the position identified by marker.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Rewind for Text<'_>

source§

impl<I: Input + Rewind> Rewind for Pear<I>

source§

impl<T: Indexable + Show + Length + PartialEq> Rewind for Cursor<T>
where T::One: Show + PartialEq,