mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 23:13:13 -04:00
Derive PartialEq for Vertex, Mesh, Row, Galley and Shape
This commit is contained in:
@@ -7,7 +7,7 @@ use emath::*;
|
||||
/// A paint primitive such as a circle or a piece of text.
|
||||
/// Coordinates are all screen space points (not physical pixels).
|
||||
#[must_use = "Add a Shape to a Painter"]
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub enum Shape {
|
||||
/// Paint nothing. This can be useful as a placeholder.
|
||||
Noop,
|
||||
|
||||
Reference in New Issue
Block a user