Struct fbx_direct::writer::EventWriter [−][src]
A wrapper around an std::io::Write
instance which emits Binary FBX.
Methods
impl<W: Write + Seek> EventWriter<W>
[src]
impl<W: Write + Seek> EventWriter<W>
pub fn new(sink: W) -> Self
[src]
pub fn new(sink: W) -> Self
Creates a new writer.
pub fn new_with_config(sink: W, config: EmitterConfig) -> Self
[src]
pub fn new_with_config(sink: W, config: EmitterConfig) -> Self
Creates a new emitter with provided configuration.
pub fn write<'a, E>(&mut self, event: E) -> Result<()> where
E: Into<FbxEvent<'a>>,
[src]
pub 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.
Auto Trait Implementations
impl<W> Send for EventWriter<W> where
W: Send,
impl<W> Send for EventWriter<W> where
W: Send,
impl<W> Sync for EventWriter<W> where
W: Sync,
impl<W> Sync for EventWriter<W> where
W: Sync,