pub enum EncodeMeshError {
VertexOutOfRange,
TooLarge,
Unsupported,
}Expand description
Why a mesh could not be encoded.
Variants§
VertexOutOfRange
A triangle names a vertex the mesh does not have.
TooLarge
The mesh has 2^32 or more vertices or triangles, or encodes to 4 GiB or more.
Unsupported
The mesh does not meet what the chosen version 2 coding needs.
Trait Implementations§
Source§impl Clone for EncodeMeshError
impl Clone for EncodeMeshError
Source§impl Debug for EncodeMeshError
impl Debug for EncodeMeshError
Source§impl Display for EncodeMeshError
impl Display for EncodeMeshError
impl Eq for EncodeMeshError
Source§impl Error for EncodeMeshError
impl Error for EncodeMeshError
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 EncodeMeshError
impl PartialEq for EncodeMeshError
impl StructuralPartialEq for EncodeMeshError
Auto Trait Implementations§
impl Forget for EncodeMeshError
impl Freeze for EncodeMeshError
impl Move for EncodeMeshError
impl RefUnwindSafe for EncodeMeshError
impl Send for EncodeMeshError
impl Sync for EncodeMeshError
impl Unpin for EncodeMeshError
impl UnsafeUnpin for EncodeMeshError
impl UnwindSafe for EncodeMeshError
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