Enum oxygengine_ha_renderer::mesh::MeshError
source · pub enum MeshError {
Show 19 variants
InvalidId(String),
DuplicateId(String),
ZeroSize,
InvalidSize(usize, usize),
OutOfBounds(usize, usize),
NoResources,
NoBuffer(usize, usize),
LayoutsMismatch(Box<VertexLayout>, Box<VertexLayout>),
LayoutIsNotCompact(Box<VertexLayout>),
MissingRequiredLayoutAttribute(VertexLayout, String),
IncompatibleDrawMode(MeshDrawMode, MeshDrawMode),
NoAvailableFactory,
UnsupportedGeometryValueConversionType(String),
GeometryValueTypeMismatch(GeometryValueType, GeometryValueType),
GeometryAttributeNotFound(String),
GeometryIsNotTriangles,
GeometryIsNotLines,
GeometryIsNotPoints,
Internal(String),
}
Variants§
InvalidId(String)
DuplicateId(String)
ZeroSize
InvalidSize(usize, usize)
(provided, expected)
OutOfBounds(usize, usize)
(provided index, expected limit)
NoResources
NoBuffer(usize, usize)
(provided index, buffers count)
LayoutsMismatch(Box<VertexLayout>, Box<VertexLayout>)
(provided, expected)
LayoutIsNotCompact(Box<VertexLayout>)
MissingRequiredLayoutAttribute(VertexLayout, String)
(layout, attribute name)
IncompatibleDrawMode(MeshDrawMode, MeshDrawMode)
(source, target)
NoAvailableFactory
UnsupportedGeometryValueConversionType(String)
GeometryValueTypeMismatch(GeometryValueType, GeometryValueType)
(provided, expected)
GeometryAttributeNotFound(String)
GeometryIsNotTriangles
GeometryIsNotLines
GeometryIsNotPoints
Internal(String)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MeshError
impl Send for MeshError
impl Sync for MeshError
impl Unpin for MeshError
impl UnwindSafe for MeshError
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