pub struct LoadConfig {
pub strict: bool,
}
Expand description
Load configuration options.
Fields§
§strict: bool
Expect a strict spec-compliant .obj
format.
If this option is set to true
(default), the parser will return an error when an
unrecognized obj
command is found. Otherwise the parser will simply ignore lines starting
with unrecognized commands.
This is useful for loading obj
files that have been extended with third-party commands.
Trait Implementations§
Source§impl Clone for LoadConfig
impl Clone for LoadConfig
Source§fn clone(&self) -> LoadConfig
fn clone(&self) -> LoadConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LoadConfig
impl Debug for LoadConfig
Source§impl Default for LoadConfig
impl Default for LoadConfig
impl Copy for LoadConfig
Auto Trait Implementations§
impl Freeze for LoadConfig
impl RefUnwindSafe for LoadConfig
impl Send for LoadConfig
impl Sync for LoadConfig
impl Unpin for LoadConfig
impl UnwindSafe for LoadConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more