1
0
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:
Emil Ernerfeldt
2021-03-13 12:58:17 +01:00
parent 6442d254a6
commit 30885b85f9
3 changed files with 5 additions and 5 deletions

View File

@@ -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,