mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-20 03:18:06 +08:00
- Move message handler payload data into structs
- Organize the file structure used by `editor/src/messages/portfolio/document` `/node_graph` and `/graph_operation`
- Make derive attributes use `serde::Serialize, serde::Deserialize` consistently instead of `use serde::{Deserialize, Serialize};` imports
- Various other code cleanup and refactoring
11 lines
239 B
Rust
11 lines
239 B
Rust
use crate::messages::prelude::*;
|
|
|
|
#[impl_message(Message, Debug)]
|
|
#[derive(PartialEq, Eq, Clone, Debug, Hash, serde::Serialize, serde::Deserialize)]
|
|
pub enum DebugMessage {
|
|
ToggleTraceLogs,
|
|
MessageOff,
|
|
MessageNames,
|
|
MessageContents,
|
|
}
|