pub enum EncodeVolumesError {
BadName {
program: String,
},
NotALeaf,
NoSuchMesh,
VolumeShown,
UncutMoved,
UncutCount,
ReservedKind,
TooLarge,
}Expand description
Why a list of volumes could not be encoded.
Variants§
BadName
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.
ReservedKind
An entry has a reserved kind, which a writer must not write.
TooLarge
There are 2^32 or more entries, or a name or document of 4 GiB or more.
Trait Implementations§
Source§impl Clone for EncodeVolumesError
impl Clone for EncodeVolumesError
Source§impl Debug for EncodeVolumesError
impl Debug for EncodeVolumesError
Source§impl Display for EncodeVolumesError
impl Display for EncodeVolumesError
impl Eq for EncodeVolumesError
Source§impl Error for EncodeVolumesError
impl Error for EncodeVolumesError
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 EncodeVolumesError
impl PartialEq for EncodeVolumesError
impl StructuralPartialEq for EncodeVolumesError
Auto Trait Implementations§
impl Forget for EncodeVolumesError
impl Freeze for EncodeVolumesError
impl Move for EncodeVolumesError
impl RefUnwindSafe for EncodeVolumesError
impl Send for EncodeVolumesErrorwhere
RawVecInner: Send,
impl Sync for EncodeVolumesErrorwhere
RawVecInner: Sync,
impl Unpin for EncodeVolumesError
impl UnsafeUnpin for EncodeVolumesError
impl UnwindSafe for EncodeVolumesErrorwhere
RawVecInner: UnwindSafe,
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