pub enum DecodeSceneError {
Malformed,
MeshCount {
named: usize,
found: usize,
},
}Expand description
Why a scene payload could not be decoded.
Variants§
Malformed
The payload is cut short, padded, names something not listed before it, or gives a node two places.
MeshCount
The payload names a different number of meshes than the file holds.
Trait Implementations§
Source§impl Clone for DecodeSceneError
impl Clone for DecodeSceneError
Source§impl Debug for DecodeSceneError
impl Debug for DecodeSceneError
Source§impl Display for DecodeSceneError
impl Display for DecodeSceneError
impl Eq for DecodeSceneError
Source§impl Error for DecodeSceneError
impl Error for DecodeSceneError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DecodeSceneError
impl PartialEq for DecodeSceneError
impl StructuralPartialEq for DecodeSceneError
Auto Trait Implementations§
impl Forget for DecodeSceneError
impl Freeze for DecodeSceneError
impl Move for DecodeSceneError
impl RefUnwindSafe for DecodeSceneError
impl Send for DecodeSceneError
impl Sync for DecodeSceneError
impl Unpin for DecodeSceneError
impl UnsafeUnpin for DecodeSceneError
impl UnwindSafe for DecodeSceneError
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