From 405b5ce8713d038a9ba8b3eb1350a2a691aba558 Mon Sep 17 00:00:00 2001 From: Antoine Beyeler <49431240+abey79@users.noreply.github.com> Date: Tue, 6 Feb 2024 15:54:25 +0100 Subject: [PATCH] Derive `Clone, Debug, PartialEq, Eq` for `EditAction` (#51) Useful for debugging... --- src/behavior.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/behavior.rs b/src/behavior.rs index bfffb6c..6f40cc2 100644 --- a/src/behavior.rs +++ b/src/behavior.rs @@ -6,6 +6,7 @@ use egui::{ use super::{ResizeState, SimplificationOptions, Tile, TileId, Tiles, UiResponse}; /// The kind of edit that triggered the call to [`Behavior::on_edit`]. +#[derive(Clone, Debug, PartialEq, Eq)] pub enum EditAction { /// A tile was resized by dragging or double-clicking a boundary. TileResized,