pub enum DecodeVolumesError {
Malformed,
NotALeaf,
NoSuchMesh,
VolumeShown,
UncutMoved,
UncutCount,
}Expand description
Why a volume payload could not be decoded.
Variants§
Malformed
The payload is cut short, padded, or not text where text belongs, or a program name breaks the rules of a program name.
NotALeaf
A model names a node the scene does not have, or one that is not a leaf.
NoSuchMesh
An entry names a mesh the scene does not have.
VolumeShown
A leaf shows the mesh of a volume.
UncutMoved
An uncut model has a transform.
UncutCount
A model has negative volumes without exactly one uncut model, or an uncut model without negative volumes.
Trait Implementations§
Source§impl Clone for DecodeVolumesError
impl Clone for DecodeVolumesError
Source§impl Debug for DecodeVolumesError
impl Debug for DecodeVolumesError
Source§impl Display for DecodeVolumesError
impl Display for DecodeVolumesError
impl Eq for DecodeVolumesError
Source§impl Error for DecodeVolumesError
impl Error for DecodeVolumesError
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 DecodeVolumesError
impl PartialEq for DecodeVolumesError
impl StructuralPartialEq for DecodeVolumesError
Auto Trait Implementations§
impl Forget for DecodeVolumesError
impl Freeze for DecodeVolumesError
impl Move for DecodeVolumesError
impl RefUnwindSafe for DecodeVolumesError
impl Send for DecodeVolumesError
impl Sync for DecodeVolumesError
impl Unpin for DecodeVolumesError
impl UnsafeUnpin for DecodeVolumesError
impl UnwindSafe for DecodeVolumesError
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