Struct fbx_direct::writer::EventWriter
[−]
[src]
pub struct EventWriter<W: Write + Seek> { // some fields omitted }
A wrapper around an std::io::Write
instance which emits Binary FBX.
Methods
impl<W: Write + Seek> EventWriter<W>
[src]
fn new(sink: W) -> Self
Creates a new writer.
fn new_with_config(sink: W, config: EmitterConfig) -> Self
Creates a new emitter with provided configuration.
fn write<'a, E>(&mut self, event: E) -> Result<()> where E: Into<FbxEvent<'a>>
Writes the next piece of FBX fragment according to the provided event.