[][src]Struct conllu::io::Reader

pub struct Reader<R> { /* fields omitted */ }

A reader for CoNLL-U sentences.

Methods

impl<R: BufRead> Reader<R>[src]

pub fn new(read: R) -> Reader<R>[src]

Construct a new reader from an object that implements the io::BufRead trait.

Trait Implementations

impl<R: BufRead> IntoIterator for Reader<R>[src]

type Item = Result<Sentence, Error>

The type of the elements being iterated over.

type IntoIter = Sentences<Reader<R>>

Which kind of iterator are we turning this into?

impl<R: BufRead> ReadSentence for Reader<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for Reader<R> where
    R: RefUnwindSafe

impl<R> Send for Reader<R> where
    R: Send

impl<R> Sync for Reader<R> where
    R: Sync

impl<R> Unpin for Reader<R> where
    R: Unpin

impl<R> UnwindSafe for Reader<R> where
    R: 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.