[][src]Struct bogobble::iter::PIter

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

Implementations

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

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

pub fn orig_str(&self) -> &'a str[src]

pub fn as_str(&self) -> &'a str[src]

pub fn str_to(&self, id: Option<usize>) -> &'a str[src]

pub fn err(&self, exp: Expected) -> PErr<'a>[src]

pub fn err_s(&self, s: &'static str) -> PErr<'a>[src]

pub fn err_rs<V>(&self, s: &'static str) -> Result<V, PErr<'a>>[src]

pub fn err_r<V>(&self, e: Expected) -> Result<V, PErr<'a>>[src]

pub fn lc(&self) -> (usize, usize)[src]

pub fn index(&self) -> Option<usize>[src]

pub fn next_i(&mut self) -> Option<(usize, char)>[src]

pub fn eoi(&self) -> bool[src]

Trait Implementations

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

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

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

type Item = char

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a> RefUnwindSafe for PIter<'a>[src]

impl<'a> Send for PIter<'a>[src]

impl<'a> Sync for PIter<'a>[src]

impl<'a> Unpin for PIter<'a>[src]

impl<'a> UnwindSafe for PIter<'a>[src]

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.