Struct ucglib::iter::OffsetStrIter[][src]

pub struct OffsetStrIter<'a> { /* fields omitted */ }

Implementations

impl<'a> OffsetStrIter<'a>[src]

pub fn new(input: &'a str) -> Self[src]

pub fn new_with_offsets(
    input: &'a str,
    line_offset: usize,
    col_offset: usize
) -> Self
[src]

pub fn with_src_file<P: Into<PathBuf>>(self, file: P) -> Self[src]

Trait Implementations

impl<'a> Clone for OffsetStrIter<'a>[src]

impl<'a> Debug for OffsetStrIter<'a>[src]

impl<'a> FilePositioned for OffsetStrIter<'a>[src]

impl<'a> From<&'a OffsetStrIter<'a>> for Position[src]

impl<'a> From<&'a str> for OffsetStrIter<'a>[src]

impl<'a> InputIter for OffsetStrIter<'a>[src]

impl<'a> Iterator for OffsetStrIter<'a>[src]

type Item = &'a u8

The type of the elements being iterated over.

impl<'a> Offsetable for OffsetStrIter<'a>[src]

impl<'a> Peekable<&'a u8> for OffsetStrIter<'a>[src]

impl<'a> Positioned for OffsetStrIter<'a>[src]

impl<'a> Seekable for OffsetStrIter<'a>[src]

impl<'a> Span<&'a str> for OffsetStrIter<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for OffsetStrIter<'a>

impl<'a> Send for OffsetStrIter<'a>

impl<'a> Sync for OffsetStrIter<'a>

impl<'a> Unpin for OffsetStrIter<'a>

impl<'a> UnwindSafe for OffsetStrIter<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.