Struct fbx_direct::reader::EventReader [] [src]

pub struct EventReader<R: Read> {
    // some fields omitted
}

A wrapper around an std::io::Read instance which provides pull-based FBX parsing.

Methods

impl<R: Read> EventReader<R>
[src]

fn new(source: R) -> Self

Creates a new reader, consuming the given stream.

fn new_with_config(source: R, config: ParserConfig) -> Self

Creates a new reader with provided configuration, consuming the given stream.

fn next(&mut self) -> Result<FbxEvent>

Pulls and returns next FBX event from the stream.

Trait Implementations

impl<R: Read> IntoIterator for EventReader<R>
[src]

type Item = Result<FbxEvent>

The type of the elements being iterated over.

type IntoIter = Events<R>

Which kind of iterator are we turning this into?

fn into_iter(self) -> Events<R>

Consumes EventReader and returns an iterator (Events) over it.