Struct fbx_direct::reader::ParserConfig [−][src]
pub struct ParserConfig { pub ignore_comments: bool, }
Fields
ignore_comments: bool
Methods
impl ParserConfig
[src]
impl ParserConfig
pub fn new() -> Self
[src]
pub fn new() -> Self
Creates a new config with default options.
pub fn create_reader<R: Read>(self, source: R) -> EventReader<R>
[src]
pub fn create_reader<R: Read>(self, source: R) -> EventReader<R>
Creates an FBX reader with this configuration.
pub fn ignore_comments(self, value: bool) -> Self
[src]
pub fn ignore_comments(self, value: bool) -> Self
Sets the field to provided value and returns updated config object.
Trait Implementations
impl Debug for ParserConfig
[src]
impl Debug for ParserConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ParserConfig
[src]
impl Clone for ParserConfig
fn clone(&self) -> ParserConfig
[src]
fn clone(&self) -> ParserConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ParserConfig
[src]
impl Copy for ParserConfig
impl PartialEq for ParserConfig
[src]
impl PartialEq for ParserConfig
fn eq(&self, other: &ParserConfig) -> bool
[src]
fn eq(&self, other: &ParserConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParserConfig) -> bool
[src]
fn ne(&self, other: &ParserConfig) -> bool
This method tests for !=
.
impl Eq for ParserConfig
[src]
impl Eq for ParserConfig
impl Default for ParserConfig
[src]
impl Default for ParserConfig
fn default() -> ParserConfig
[src]
fn default() -> ParserConfig
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ParserConfig
impl Send for ParserConfig
impl Sync for ParserConfig
impl Sync for ParserConfig