Require that PartialEq is implemented for Action

This commit is contained in:
Antonio Scandurra 2022-06-06 09:18:44 +02:00
parent eae7c2267c
commit 3a69943df3
19 changed files with 58 additions and 49 deletions

View file

@ -81,16 +81,16 @@ struct EntryDetails {
is_cut: bool,
}
#[derive(Clone)]
#[derive(Clone, PartialEq)]
pub struct ToggleExpanded(pub ProjectEntryId);
#[derive(Clone)]
#[derive(Clone, PartialEq)]
pub struct Open {
pub entry_id: ProjectEntryId,
pub change_focus: bool,
}
#[derive(Clone)]
#[derive(Clone, PartialEq)]
pub struct DeployContextMenu {
pub position: Vector2F,
pub entry_id: Option<ProjectEntryId>,