[][src]Struct gobble::iter::LCChars

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

Implementations

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

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

pub fn from_chars(iter: Chars<'a>) -> LCChars<'a>[src]

👎 Deprecated since 0.2.1:

use from_char_indices instead

pub fn from_char_indices(iter: CharIndices<'a>) -> LCChars<'a>[src]

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

pub fn err(&self, s: &'static str) -> ParseError[src]

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

pub fn err_c(&self, c: ECode) -> ParseError[src]

pub fn err_cr<V>(&self, c: ECode) -> Result<V, ParseError>[src]

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

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

Trait Implementations

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

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

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

type Item = char

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a> RefUnwindSafe for LCChars<'a>

impl<'a> Send for LCChars<'a>

impl<'a> Sync for LCChars<'a>

impl<'a> Unpin for LCChars<'a>

impl<'a> UnwindSafe for LCChars<'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.