pub struct SolidMesh {
pub buffers: Indexed<SolidVertex2D>,
}
Expand description
A low-level primitive to render a mesh of triangles with a solid color.
Fields§
§buffers: Indexed<SolidVertex2D>
The vertices and indices of the mesh.
Implementations§
Trait Implementations§
impl StructuralPartialEq for SolidMesh
Auto Trait Implementations§
impl Freeze for SolidMesh
impl RefUnwindSafe for SolidMesh
impl Send for SolidMesh
impl Sync for SolidMesh
impl Unpin for SolidMesh
impl UnwindSafe for SolidMesh
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