Trait ToCursor

Source
pub trait ToCursor<T, E: Extras<T> = NoneExtras<T>>
where Self: AsRef<[T]>,
{ // Provided method fn to_cursor(&self) -> Cursor<'_, T, E> { ... } }

Provided Methods§

Source

fn to_cursor(&self) -> Cursor<'_, T, E>

Implementors§

Source§

impl<E: Extras<char>> ToCursor<u8> for StrCursor<'_, E>

this will reset the newer cursor

Source§

impl<T, E: Extras<T>> ToCursor<T, E> for Cursor<'_, T, E>

this would reset the newer cursor