[][src]Struct tptp::TPTPIterator

pub struct TPTPIterator<'a, E> {
    pub remaining: &'a [u8],
    // some fields omitted
}

iterator returning tptp_inputs from a byte slice

Fields

remaining: &'a [u8]

the current position of the iterator in the slice

Implementations

impl<'a, E> TPTPIterator<'a, E>[src]

pub fn new(remaining: &'a [u8]) -> Self[src]

Trait Implementations

impl<'a, E: Error<'a>> Iterator for TPTPIterator<'a, E>[src]

type Item = Result<TPTPInput<'a>, E>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, E> RefUnwindSafe for TPTPIterator<'a, E> where
    E: RefUnwindSafe

impl<'a, E> Send for TPTPIterator<'a, E> where
    E: Send

impl<'a, E> Sync for TPTPIterator<'a, E> where
    E: Sync

impl<'a, E> Unpin for TPTPIterator<'a, E> where
    E: Unpin

impl<'a, E> UnwindSafe for TPTPIterator<'a, E> where
    E: UnwindSafe

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