pub enum EncodePreviewsError {
NotALeaf,
MeshNotEmpty,
SameLeaf,
Mesh(EncodeMeshError),
TooLarge,
}Expand description
Why a list of support previews could not be encoded.
Variants§
NotALeaf
A preview names a node the scene does not have, or one that is not a leaf.
MeshNotEmpty
A preview names a leaf that shows a mesh with vertices or triangles.
SameLeaf
Two previews name the same leaf.
Mesh(EncodeMeshError)
TooLarge
There are 2^32 or more previews, or a mesh encodes to 4 GiB or more.
Trait Implementations§
Source§impl Clone for EncodePreviewsError
impl Clone for EncodePreviewsError
Source§impl Debug for EncodePreviewsError
impl Debug for EncodePreviewsError
Source§impl Display for EncodePreviewsError
impl Display for EncodePreviewsError
impl Eq for EncodePreviewsError
Source§impl Error for EncodePreviewsError
impl Error for EncodePreviewsError
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 EncodePreviewsError
impl PartialEq for EncodePreviewsError
impl StructuralPartialEq for EncodePreviewsError
Auto Trait Implementations§
impl Forget for EncodePreviewsError
impl Freeze for EncodePreviewsError
impl Move for EncodePreviewsError
impl RefUnwindSafe for EncodePreviewsError
impl Send for EncodePreviewsError
impl Sync for EncodePreviewsError
impl Unpin for EncodePreviewsError
impl UnsafeUnpin for EncodePreviewsError
impl UnwindSafe for EncodePreviewsError
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