mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 09:38:11 +08:00
Convert u64 IDs to newtypes (#1532)
This commit is contained in:
@@ -51,14 +51,12 @@ pub use crate::messages::tool::tool_messages::text_tool::{TextToolMessage, TextT
|
||||
// Helper
|
||||
pub use crate::messages::globals::global_variables::*;
|
||||
pub use crate::messages::portfolio::document::node_graph::TransformIn;
|
||||
pub use crate::messages::portfolio::document::utility_types::misc::DocumentId;
|
||||
|
||||
pub use graphite_proc_macros::*;
|
||||
|
||||
pub use std::collections::{HashMap, HashSet, VecDeque};
|
||||
|
||||
// TODO: Convert from a type alias to a newtype
|
||||
pub type DocumentId = u64;
|
||||
|
||||
pub trait Responses {
|
||||
fn add(&mut self, message: impl Into<Message>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user