pear::input

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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,