pub enum MtlParseErrorKind {
EmptyPrefix,
UnknownPrefix(String),
MissingField(&'static str),
InvalidNumber {
field: &'static str,
value: String,
},
InvalidIlluminationModel(String),
Custom(String),
}Expand description
Structured description of an MTL syntax problem.
Variants§
EmptyPrefix
UnknownPrefix(String)
MissingField(&'static str)
InvalidNumber
InvalidIlluminationModel(String)
Custom(String)
Trait Implementations§
Source§impl Clone for MtlParseErrorKind
impl Clone for MtlParseErrorKind
Source§fn clone(&self) -> MtlParseErrorKind
fn clone(&self) -> MtlParseErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MtlParseErrorKind
impl Debug for MtlParseErrorKind
Source§impl Display for MtlParseErrorKind
impl Display for MtlParseErrorKind
Source§impl PartialEq for MtlParseErrorKind
impl PartialEq for MtlParseErrorKind
Source§fn eq(&self, other: &MtlParseErrorKind) -> bool
fn eq(&self, other: &MtlParseErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MtlParseErrorKind
impl StructuralPartialEq for MtlParseErrorKind
Auto Trait Implementations§
impl Freeze for MtlParseErrorKind
impl RefUnwindSafe for MtlParseErrorKind
impl Send for MtlParseErrorKind
impl Sync for MtlParseErrorKind
impl Unpin for MtlParseErrorKind
impl UnsafeUnpin for MtlParseErrorKind
impl UnwindSafe for MtlParseErrorKind
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