pub enum FbxTryFromReason {
WrongObjectKind {
expected: String,
got_type_name: String,
got_class_name: String,
},
MissingAttribute {
name: String,
},
InvalidAttributeFormat {
name: String,
detail: String,
},
}Expand description
Why TryFrom<OwnedObject> failed for a typed FBX wrapper.
Variants§
WrongObjectKind
(type_name, class_name) does not match the target wrapper (factory: FbxTypeMismatch::wrong_object_kind).
MissingAttribute
A required non-Properties70 child (FBX element under the object) was missing.
InvalidAttributeFormat
A child was present but had no usable value or failed to parse.
Trait Implementations§
Source§impl Clone for FbxTryFromReason
impl Clone for FbxTryFromReason
Source§fn clone(&self) -> FbxTryFromReason
fn clone(&self) -> FbxTryFromReason
Returns a duplicate 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 FbxTryFromReason
impl Debug for FbxTryFromReason
Source§impl PartialEq for FbxTryFromReason
impl PartialEq for FbxTryFromReason
impl Eq for FbxTryFromReason
impl StructuralPartialEq for FbxTryFromReason
Auto Trait Implementations§
impl Freeze for FbxTryFromReason
impl RefUnwindSafe for FbxTryFromReason
impl Send for FbxTryFromReason
impl Sync for FbxTryFromReason
impl Unpin for FbxTryFromReason
impl UnsafeUnpin for FbxTryFromReason
impl UnwindSafe for FbxTryFromReason
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