Struct fbx_direct::writer::EmitterConfig [] [src]

pub struct EmitterConfig {
    pub ignore_minor_errors: bool,
    pub fbx_version: Option<u32>,
}

Fields

ignore_minor_errors: bool fbx_version: Option<u32>

Methods

impl EmitterConfig
[src]

fn new() -> Self

Creates a new config with default options.

fn create_writer<W: Write + Seek>(self, sink: W) -> EventWriter<W>

Creates an FBX writer with this configuration.

fn ignore_minor_errors(self, value: bool) -> Self

Sets the field to provided value and returns updated config object.

fn fbx_version(self, value: Option<u32>) -> Self

Sets the FBX version to write.

Trait Implementations

impl Eq for EmitterConfig
[src]

impl PartialEq for EmitterConfig
[src]

fn eq(&self, __arg_0: &EmitterConfig) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &EmitterConfig) -> bool

This method tests for !=.

impl Copy for EmitterConfig
[src]

impl Clone for EmitterConfig
[src]

fn clone(&self) -> EmitterConfig

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for EmitterConfig
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for EmitterConfig
[src]

fn default() -> EmitterConfig

Returns the "default value" for a type. Read more