repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/utility_traits.rs
editor/src/utility_traits.rs
pub use crate::dispatcher::*; use crate::messages::prelude::*; /// Implements a message handler struct for a separate message struct. /// - The first type argument (`M`) is that message struct type, representing a message enum variant to be matched and handled in `process_message()`. /// - The second type argument (`C...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/node_graph_executor/runtime.rs
editor/src/node_graph_executor/runtime.rs
use super::*; use crate::messages::frontend::utility_types::{ExportBounds, FileType}; use glam::{DAffine2, DVec2}; use graph_craft::document::value::TaggedValue; use graph_craft::document::{NodeId, NodeNetwork}; use graph_craft::graphene_compiler::Compiler; use graph_craft::proto::GraphErrors; use graph_craft::wasm_app...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/node_graph_executor/runtime_io.rs
editor/src/node_graph_executor/runtime_io.rs
use super::*; use std::sync::mpsc::{Receiver, Sender}; /// Handles communication with the NodeRuntime #[derive(Debug)] pub struct NodeRuntimeIO { // Send to sender: Sender<GraphRuntimeRequest>, receiver: Receiver<NodeGraphUpdate>, } impl Default for NodeRuntimeIO { fn default() -> Self { Self::new() } } impl ...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/prelude.rs
editor/src/messages/prelude.rs
// Message-related pub use crate::utility_traits::{ActionList, AsMessage, ExtractField, HierarchicalTree, MessageHandler, ToDiscriminant, TransitiveChild}; pub use crate::utility_types::{DebugMessageTree, MessageData}; // Message, MessageData, MessageDiscriminant, MessageHandler pub use crate::messages::animation::{An...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/mod.rs
editor/src/messages/mod.rs
//! The root-level messages forming the first layer of the message system architecture. pub mod animation; pub mod app_window; pub mod broadcast; pub mod clipboard; pub mod debug; pub mod defer; pub mod dialog; pub mod frontend; pub mod globals; pub mod input_mapper; pub mod input_preprocessor; pub mod layout; pub mod...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/message.rs
editor/src/messages/message.rs
use crate::messages::prelude::*; use graphite_proc_macros::*; #[impl_message] #[derive(Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize)] pub enum Message { // Sub-messages #[child] Animation(AnimationMessage), #[child] AppWindow(AppWindowMessage), #[child] Broadcast(BroadcastMessage), #[child] C...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/menu_bar/menu_bar_message_handler.rs
editor/src/messages/menu_bar/menu_bar_message_handler.rs
use crate::messages::debug::utility_types::MessageLoggingVerbosity; use crate::messages::input_mapper::utility_types::macros::action_shortcut; use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::portfolio::document::utility_types::misc::{AlignAggregate, AlignAxis, FlipAxis, GroupFolderTy...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/menu_bar/mod.rs
editor/src/messages/menu_bar/mod.rs
mod menu_bar_message; mod menu_bar_message_handler; #[doc(inline)] pub use menu_bar_message::{MenuBarMessage, MenuBarMessageDiscriminant}; #[doc(inline)] pub use menu_bar_message_handler::MenuBarMessageHandler;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/menu_bar/menu_bar_message.rs
editor/src/messages/menu_bar/menu_bar_message.rs
use crate::messages::prelude::*; #[impl_message(Message, MenuBar)] #[derive(PartialEq, Eq, Clone, Debug, Hash, serde::Serialize, serde::Deserialize)] pub enum MenuBarMessage { // Messages SendLayout, }
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/broadcast/broadcast_message_handler.rs
editor/src/messages/broadcast/broadcast_message_handler.rs
use crate::messages::prelude::*; #[derive(Debug, Clone, Default, ExtractField)] pub struct BroadcastMessageHandler { event: EventMessageHandler, listeners: HashMap<EventMessage, Vec<Message>>, } #[message_handler_data] impl MessageHandler<BroadcastMessage, ()> for BroadcastMessageHandler { fn process_message(&mut ...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/broadcast/mod.rs
editor/src/messages/broadcast/mod.rs
mod broadcast_message; mod broadcast_message_handler; pub mod event; #[doc(inline)] pub use broadcast_message::{BroadcastMessage, BroadcastMessageDiscriminant}; #[doc(inline)] pub use broadcast_message_handler::BroadcastMessageHandler;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/broadcast/broadcast_message.rs
editor/src/messages/broadcast/broadcast_message.rs
use crate::messages::prelude::*; #[impl_message(Message, Broadcast)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum BroadcastMessage { // Sub-messages #[child] TriggerEvent(EventMessage), // Messages SubscribeEvent { on: EventMessage, send: Box<Message>, }, UnsubscribeEve...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/broadcast/event/event_message.rs
editor/src/messages/broadcast/event/event_message.rs
use crate::messages::prelude::*; #[impl_message(Message, BroadcastMessage, TriggerEvent)] #[derive(PartialEq, Eq, Clone, Debug, serde::Serialize, serde::Deserialize, Hash)] pub enum EventMessage { /// Triggered by requestAnimationFrame in JS AnimationFrame, CanvasTransformed, ToolAbort, SelectionChanged, Working...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/broadcast/event/event_message_handler.rs
editor/src/messages/broadcast/event/event_message_handler.rs
use crate::messages::prelude::*; #[derive(ExtractField)] pub struct EventMessageContext<'a> { pub listeners: &'a mut HashMap<EventMessage, Vec<Message>>, } #[derive(Debug, Clone, Default, ExtractField)] pub struct EventMessageHandler {} #[message_handler_data] impl MessageHandler<EventMessage, EventMessageContext<'...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/broadcast/event/mod.rs
editor/src/messages/broadcast/event/mod.rs
mod event_message; mod event_message_handler; #[doc(inline)] pub use event_message::{EventMessage, EventMessageDiscriminant}; #[doc(inline)] pub use event_message_handler::{EventMessageContext, EventMessageHandler};
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/mod.rs
editor/src/messages/dialog/mod.rs
//! Handles dialogs that appear as floating menus in the center of the editor window. //! //! Dialogs are represented as structs that implement the `DialogLayoutHolder` trait. //! //! To open a dialog, call the function `send_dialog_to_frontend()` on the dialog struct. //! Then dialog can be opened by sending the `Fron...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/dialog_message_handler.rs
editor/src/messages/dialog/dialog_message_handler.rs
use super::simple_dialogs::{self, AboutGraphiteDialog, DemoArtworkDialog, LicensesDialog}; use crate::messages::dialog::simple_dialogs::LicensesThirdPartyDialog; use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; #[derive(ExtractField)] pub struct DialogMessageContext<'a> {...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/dialog_message.rs
editor/src/messages/dialog/dialog_message.rs
use crate::messages::prelude::*; #[impl_message(Message, Dialog)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum DialogMessage { // Sub-messages #[child] ExportDialog(ExportDialogMessage), #[child] NewDocumentDialog(NewDocumentDialogMessage), #[child] PreferencesDialog(Prefere...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/preferences_dialog/preferences_dialog_message.rs
editor/src/messages/dialog/preferences_dialog/preferences_dialog_message.rs
use crate::messages::prelude::*; #[impl_message(Message, DialogMessage, PreferencesDialog)] #[derive(Eq, PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum PreferencesDialogMessage { Confirm, }
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/preferences_dialog/mod.rs
editor/src/messages/dialog/preferences_dialog/mod.rs
mod preferences_dialog_message; mod preferences_dialog_message_handler; #[doc(inline)] pub use preferences_dialog_message::{PreferencesDialogMessage, PreferencesDialogMessageDiscriminant}; #[doc(inline)] pub use preferences_dialog_message_handler::{PreferencesDialogMessageContext, PreferencesDialogMessageHandler};
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/preferences_dialog/preferences_dialog_message_handler.rs
editor/src/messages/dialog/preferences_dialog/preferences_dialog_message_handler.rs
use crate::consts::{VIEWPORT_ZOOM_WHEEL_RATE, VIEWPORT_ZOOM_WHEEL_RATE_CHANGE}; use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::portfolio::document::utility_types::wires::GraphWireStyle; use crate::messages::preferences::SelectionMode; use crate::messages::prelude::*; #[derive(Extra...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/simple_dialogs/error_dialog.rs
editor/src/messages/dialog/simple_dialogs/error_dialog.rs
use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; /// A dialog to notify users of a non-fatal error. pub struct ErrorDialog { pub title: String, pub description: String, } impl DialogLayoutHolder for ErrorDialog { const ICON: &'static str = "Warning"; const TITLE: &'s...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/simple_dialogs/close_all_documents_dialog.rs
editor/src/messages/dialog/simple_dialogs/close_all_documents_dialog.rs
use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; /// A dialog for confirming the closing of all documents viewable via `File -> Close All` in the menu bar. pub struct CloseAllDocumentsDialog { pub unsaved_document_names: Vec<String>, } impl DialogLayoutHolder for CloseA...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/simple_dialogs/demo_artwork_dialog.rs
editor/src/messages/dialog/simple_dialogs/demo_artwork_dialog.rs
use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; /// A dialog to let the user browse a gallery of demo artwork that can be opened. pub struct DemoArtworkDialog; /// `(name, thumbnail, filename)` pub const ARTWORK: [(&str, &str, &str); 7] = [ ("Isometric Fountain", "Thum...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/simple_dialogs/mod.rs
editor/src/messages/dialog/simple_dialogs/mod.rs
mod about_graphite_dialog; mod close_all_documents_dialog; mod close_document_dialog; mod demo_artwork_dialog; mod error_dialog; mod licenses_dialog; mod licenses_third_party_dialog; pub use about_graphite_dialog::AboutGraphiteDialog; pub use close_all_documents_dialog::CloseAllDocumentsDialog; pub use close_document_...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/simple_dialogs/licenses_third_party_dialog.rs
editor/src/messages/dialog/simple_dialogs/licenses_third_party_dialog.rs
use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; pub struct LicensesThirdPartyDialog { pub license_text: String, } impl DialogLayoutHolder for LicensesThirdPartyDialog { const ICON: &'static str = "License12px"; const TITLE: &'static str = "Third-Party Software Licens...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/simple_dialogs/licenses_dialog.rs
editor/src/messages/dialog/simple_dialogs/licenses_dialog.rs
use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; pub struct LicensesDialog { pub localized_commit_year: String, } impl DialogLayoutHolder for LicensesDialog { const ICON: &'static str = "License12px"; const TITLE: &'static str = "Licenses"; fn layout_buttons(&self) ...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/simple_dialogs/close_document_dialog.rs
editor/src/messages/dialog/simple_dialogs/close_document_dialog.rs
use crate::messages::broadcast::event::EventMessage; use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; /// A dialog for confirming the closing a document with unsaved changes. pub struct CloseDocumentDialog { pub document_name: String, pub document_id: DocumentId, } imp...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/simple_dialogs/about_graphite_dialog.rs
editor/src/messages/dialog/simple_dialogs/about_graphite_dialog.rs
use crate::application::commit_info_localized; use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; /// A dialog for displaying information on [BuildMetadata] viewable via *Help* > *About Graphite* in the menu bar. pub struct AboutGraphiteDialog { pub localized_commit_date: ...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/new_document_dialog/new_document_dialog_message_handler.rs
editor/src/messages/dialog/new_document_dialog/new_document_dialog_message_handler.rs
use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; use glam::{IVec2, UVec2}; use graph_craft::document::NodeId; /// A dialog to allow users to set some initial options about a new document. #[derive(Debug, Clone, Default, ExtractField)] pub struct NewDocumentDialogMessageHa...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/new_document_dialog/mod.rs
editor/src/messages/dialog/new_document_dialog/mod.rs
mod new_document_dialog_message; mod new_document_dialog_message_handler; #[doc(inline)] pub use new_document_dialog_message::{NewDocumentDialogMessage, NewDocumentDialogMessageDiscriminant}; #[doc(inline)] pub use new_document_dialog_message_handler::NewDocumentDialogMessageHandler;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/new_document_dialog/new_document_dialog_message.rs
editor/src/messages/dialog/new_document_dialog/new_document_dialog_message.rs
use crate::messages::prelude::*; #[impl_message(Message, DialogMessage, NewDocumentDialog)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum NewDocumentDialogMessage { Name { name: String }, Infinite { infinite: bool }, DimensionsX { width: f64 }, DimensionsY { height: f64 }, Sub...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/export_dialog/export_dialog_message.rs
editor/src/messages/dialog/export_dialog/export_dialog_message.rs
use crate::messages::frontend::utility_types::{ExportBounds, FileType}; use crate::messages::prelude::*; #[impl_message(Message, DialogMessage, ExportDialog)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum ExportDialogMessage { FileType { file_type: FileType }, ScaleFactor { factor...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/export_dialog/mod.rs
editor/src/messages/dialog/export_dialog/mod.rs
mod export_dialog_message; mod export_dialog_message_handler; #[doc(inline)] pub use export_dialog_message::{ExportDialogMessage, ExportDialogMessageDiscriminant}; #[doc(inline)] pub use export_dialog_message_handler::{ExportDialogMessageContext, ExportDialogMessageHandler};
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/dialog/export_dialog/export_dialog_message_handler.rs
editor/src/messages/dialog/export_dialog/export_dialog_message_handler.rs
use crate::messages::frontend::utility_types::{ExportBounds, FileType}; use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::portfolio::document::utility_types::document_metadata::LayerNodeIdentifier; use crate::messages::prelude::*; #[derive(ExtractField)] pub struct ExportDialogMessage...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/clipboard/utility_types.rs
editor/src/messages/clipboard/utility_types.rs
#[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum ClipboardContentRaw { Text(String), Svg(String), Image { data: Vec<u8>, width: u32, height: u32 }, } #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum ClipboardContent { Layer(String), Nodes(String), ...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/clipboard/mod.rs
editor/src/messages/clipboard/mod.rs
mod clipboard_message; pub mod clipboard_message_handler; pub mod utility_types; #[doc(inline)] pub use clipboard_message::{ClipboardMessage, ClipboardMessageDiscriminant}; #[doc(inline)] pub use clipboard_message_handler::ClipboardMessageHandler;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/clipboard/clipboard_message.rs
editor/src/messages/clipboard/clipboard_message.rs
use crate::messages::clipboard::utility_types::{ClipboardContent, ClipboardContentRaw}; use crate::messages::prelude::*; #[impl_message(Message, Clipboard)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum ClipboardMessage { Cut, Copy, Paste, ReadClipboard { content: ClipboardConte...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/clipboard/clipboard_message_handler.rs
editor/src/messages/clipboard/clipboard_message_handler.rs
use crate::messages::clipboard::utility_types::{ClipboardContent, ClipboardContentRaw}; use crate::messages::prelude::*; use graphene_std::raster::Image; use graphite_proc_macros::{ExtractField, message_handler_data}; const CLIPBOARD_PREFIX_LAYER: &str = "graphite/layer: "; const CLIPBOARD_PREFIX_NODES: &str = "graphi...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/globals/globals_message.rs
editor/src/messages/globals/globals_message.rs
use crate::messages::portfolio::utility_types::Platform; use crate::messages::prelude::*; #[impl_message(Message, Globals)] #[derive(PartialEq, Eq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum GlobalsMessage { SetPlatform { platform: Platform }, }
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/globals/globals_message_handler.rs
editor/src/messages/globals/globals_message_handler.rs
use crate::messages::prelude::*; #[derive(Debug, Default, ExtractField)] pub struct GlobalsMessageHandler {} #[message_handler_data] impl MessageHandler<GlobalsMessage, ()> for GlobalsMessageHandler { fn process_message(&mut self, message: GlobalsMessage, _responses: &mut VecDeque<Message>, _: ()) { match message ...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/globals/global_variables.rs
editor/src/messages/globals/global_variables.rs
use crate::messages::portfolio::utility_types::Platform; use std::sync::OnceLock; pub static GLOBAL_PLATFORM: OnceLock<Platform> = OnceLock::new();
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/globals/mod.rs
editor/src/messages/globals/mod.rs
mod globals_message; mod globals_message_handler; pub mod global_variables; #[doc(inline)] pub use globals_message::{GlobalsMessage, GlobalsMessageDiscriminant}; #[doc(inline)] pub use globals_message_handler::GlobalsMessageHandler;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/input_preprocessor/input_preprocessor_message_handler.rs
editor/src/messages/input_preprocessor/input_preprocessor_message_handler.rs
use crate::messages::input_mapper::utility_types::input_keyboard::{Key, KeyStates, ModifierKeys}; use crate::messages::input_mapper::utility_types::input_mouse::{MouseButton, MouseKeys, MouseState}; use crate::messages::input_mapper::utility_types::misc::FrameTimeInfo; use crate::messages::portfolio::utility_types::Key...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/input_preprocessor/mod.rs
editor/src/messages/input_preprocessor/mod.rs
mod input_preprocessor_message; mod input_preprocessor_message_handler; #[doc(inline)] pub use input_preprocessor_message::{InputPreprocessorMessage, InputPreprocessorMessageDiscriminant}; #[doc(inline)] pub use input_preprocessor_message_handler::{InputPreprocessorMessageContext, InputPreprocessorMessageHandler};
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/input_preprocessor/input_preprocessor_message.rs
editor/src/messages/input_preprocessor/input_preprocessor_message.rs
use crate::messages::input_mapper::utility_types::input_keyboard::{Key, ModifierKeys}; use crate::messages::input_mapper::utility_types::input_mouse::EditorMouseState; use crate::messages::prelude::*; #[impl_message(Message, InputPreprocessor)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] p...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/layout/layout_message.rs
editor/src/messages/layout/layout_message.rs
use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; #[impl_message(Message, Layout)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum LayoutMessage { ResendActiveWidget { layout_target: LayoutTarget, widget_id: WidgetId, }, SendLayout ...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/layout/layout_message_handler.rs
editor/src/messages/layout/layout_message_handler.rs
use crate::messages::input_mapper::utility_types::input_keyboard::KeysGroup; use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::prelude::*; use graphene_std::raster::color::Color; use graphene_std::vector::style::{FillChoice, GradientStops}; use serde_json::Value; use std::collections::...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/layout/mod.rs
editor/src/messages/layout/mod.rs
mod layout_message; pub mod layout_message_handler; pub mod utility_types; #[doc(inline)] pub use layout_message::{LayoutMessage, LayoutMessageDiscriminant}; #[doc(inline)] pub use layout_message_handler::LayoutMessageHandler;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/layout/utility_types/layout_widget.rs
editor/src/messages/layout/utility_types/layout_widget.rs
use super::widgets::button_widgets::*; use super::widgets::input_widgets::*; use super::widgets::label_widgets::*; use crate::application::generate_uuid; use crate::messages::input_mapper::utility_types::input_keyboard::KeysGroup; use crate::messages::prelude::*; use std::collections::HashMap; use std::collections::has...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/layout/utility_types/mod.rs
editor/src/messages/layout/utility_types/mod.rs
pub mod layout_widget; pub mod widgets; pub mod widget_prelude { pub use super::layout_widget::*; pub use super::widgets::button_widgets::*; pub use super::widgets::input_widgets::*; pub use super::widgets::label_widgets::*; }
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/layout/utility_types/widgets/label_widgets.rs
editor/src/messages/layout/utility_types/widgets/label_widgets.rs
use super::input_widgets::CheckboxId; use crate::messages::input_mapper::utility_types::misc::ActionShortcut; use derivative::*; use graphite_proc_macros::WidgetBuilder; #[derive(Clone, serde::Serialize, serde::Deserialize, Derivative, Debug, Default, PartialEq, Eq, WidgetBuilder, specta::Type)] pub struct IconLabel {...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/layout/utility_types/widgets/input_widgets.rs
editor/src/messages/layout/utility_types/widgets/input_widgets.rs
use crate::messages::input_mapper::utility_types::misc::ActionShortcut; use crate::messages::layout::utility_types::widget_prelude::*; use derivative::*; use graphene_std::Color; use graphene_std::raster::curve::Curve; use graphene_std::transform::ReferencePoint; use graphite_proc_macros::WidgetBuilder; #[derive(Clone...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/layout/utility_types/widgets/button_widgets.rs
editor/src/messages/layout/utility_types/widgets/button_widgets.rs
use crate::messages::input_mapper::utility_types::misc::ActionShortcut; use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::portfolio::document::node_graph::utility_types::FrontendGraphDataType; use crate::messages::tool::tool_messages::tool_prelude::WidgetCallback; use derivative::*; us...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/layout/utility_types/widgets/mod.rs
editor/src/messages/layout/utility_types/widgets/mod.rs
pub mod button_widgets; pub mod input_widgets; pub mod label_widgets;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/viewport/mod.rs
editor/src/messages/viewport/mod.rs
mod viewport_message; mod viewport_message_handler; #[doc(inline)] pub use viewport_message::{ViewportMessage, ViewportMessageDiscriminant}; #[doc(inline)] pub use viewport_message_handler::*;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/viewport/viewport_message_handler.rs
editor/src/messages/viewport/viewport_message_handler.rs
use std::ops::{Add, Div, Mul, Sub}; use crate::messages::prelude::*; use crate::messages::tool::tool_messages::tool_prelude::DVec2; #[derive(Debug, PartialEq, Clone, Copy, serde::Serialize, serde::Deserialize, specta::Type, ExtractField)] pub struct ViewportMessageHandler { bounds: Bounds, // Ratio of logical pixel...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/viewport/viewport_message.rs
editor/src/messages/viewport/viewport_message.rs
use crate::messages::prelude::*; #[impl_message(Message, Viewport)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum ViewportMessage { Update { x: f64, y: f64, width: f64, height: f64, scale: f64 }, RepropagateUpdate, }
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/app_window/app_window_message_handler.rs
editor/src/messages/app_window/app_window_message_handler.rs
use crate::messages::app_window::AppWindowMessage; use crate::messages::prelude::*; use graphite_proc_macros::{ExtractField, message_handler_data}; #[derive(Debug, Clone, Default, ExtractField)] pub struct AppWindowMessageHandler { platform: AppWindowPlatform, } #[message_handler_data] impl MessageHandler<AppWindowM...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/app_window/app_window_message.rs
editor/src/messages/app_window/app_window_message.rs
use crate::messages::prelude::*; use super::app_window_message_handler::AppWindowPlatform; #[impl_message(Message, AppWindow)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum AppWindowMessage { UpdatePlatform { platform: AppWindowPlatform }, Close, Minimize, Maximize, Drag, Hid...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/app_window/mod.rs
editor/src/messages/app_window/mod.rs
mod app_window_message; pub mod app_window_message_handler; #[doc(inline)] pub use app_window_message::{AppWindowMessage, AppWindowMessageDiscriminant}; #[doc(inline)] pub use app_window_message_handler::AppWindowMessageHandler;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/preferences/utility_types.rs
editor/src/messages/preferences/utility_types.rs
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, serde::Serialize, serde::Deserialize, specta::Type, Hash)] pub enum SelectionMode { #[default] Touched = 0, Enclosed = 1, Directional = 2, } impl std::fmt::Display for SelectionMode { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match ...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/preferences/preferences_message_handler.rs
editor/src/messages/preferences/preferences_message_handler.rs
use crate::consts::{UI_SCALE_DEFAULT, VIEWPORT_ZOOM_WHEEL_RATE}; use crate::messages::input_mapper::key_mapping::MappingVariant; use crate::messages::portfolio::document::utility_types::wires::GraphWireStyle; use crate::messages::preferences::SelectionMode; use crate::messages::prelude::*; use crate::messages::tool::ut...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/preferences/mod.rs
editor/src/messages/preferences/mod.rs
mod preferences_message; pub mod preferences_message_handler; pub mod utility_types; #[doc(inline)] pub use preferences_message::{PreferencesMessage, PreferencesMessageDiscriminant}; #[doc(inline)] pub use preferences_message_handler::PreferencesMessageHandler; #[doc(inline)] pub use utility_types::SelectionMode;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/preferences/preferences_message.rs
editor/src/messages/preferences/preferences_message.rs
use crate::messages::portfolio::document::utility_types::wires::GraphWireStyle; use crate::messages::preferences::SelectionMode; use crate::messages::prelude::*; #[impl_message(Message, Preferences)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum PreferencesMessage { // Management m...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/frontend/frontend_message.rs
editor/src/messages/frontend/frontend_message.rs
use super::utility_types::{DocumentDetails, MouseCursorIcon, OpenDocument}; use crate::messages::app_window::app_window_message_handler::AppWindowPlatform; use crate::messages::input_mapper::utility_types::misc::ActionShortcut; use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::portfoli...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/frontend/utility_types.rs
editor/src/messages/frontend/utility_types.rs
use std::path::PathBuf; use crate::messages::portfolio::document::utility_types::document_metadata::LayerNodeIdentifier; use crate::messages::prelude::*; #[derive(PartialEq, Eq, Clone, Debug, serde::Serialize, serde::Deserialize, specta::Type)] pub struct OpenDocument { pub id: DocumentId, pub details: DocumentDeta...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/frontend/mod.rs
editor/src/messages/frontend/mod.rs
mod frontend_message; pub mod utility_types; #[doc(inline)] pub use frontend_message::{FrontendMessage, FrontendMessageDiscriminant};
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/utility_types.rs
editor/src/messages/portfolio/utility_types.rs
use graphene_std::text::{Font, FontCache}; #[derive(Debug, Default)] pub struct PersistentData { pub font_cache: FontCache, pub font_catalog: FontCatalog, pub use_vello: bool, } // TODO: Should this be a BTreeMap instead? #[derive(Clone, Debug, Default, Eq, PartialEq, serde::Serialize, serde::Deserialize)] pub str...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/portfolio_message.rs
editor/src/messages/portfolio/portfolio_message.rs
use super::document::utility_types::document_metadata::LayerNodeIdentifier; use super::utility_types::PanelType; use crate::messages::frontend::utility_types::{ExportBounds, FileType}; use crate::messages::portfolio::document::utility_types::clipboards::Clipboard; use crate::messages::portfolio::utility_types::FontCata...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/mod.rs
editor/src/messages/portfolio/mod.rs
mod portfolio_message; mod portfolio_message_handler; pub mod document; pub mod document_migration; pub mod utility_types; #[doc(inline)] pub use portfolio_message::{PortfolioMessage, PortfolioMessageDiscriminant}; #[doc(inline)] pub use portfolio_message_handler::{PortfolioMessageContext, PortfolioMessageHandler};
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/portfolio_message_handler.rs
editor/src/messages/portfolio/portfolio_message_handler.rs
use super::document::utility_types::document_metadata::LayerNodeIdentifier; use super::document::utility_types::network_interface; use super::utility_types::{PanelType, PersistentData}; use crate::application::generate_uuid; use crate::consts::{DEFAULT_DOCUMENT_NAME, DEFAULT_STROKE_WIDTH, FILE_EXTENSION}; use crate::me...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
true
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document_migration.rs
editor/src/messages/portfolio/document_migration.rs
// TODO: Eventually remove this document upgrade code // This file contains lots of hacky code for upgrading old documents to the new format use crate::messages::portfolio::document::node_graph::document_node_definitions::resolve_document_node_type; use crate::messages::portfolio::document::utility_types::document_met...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
true
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/document_message_handler.rs
editor/src/messages/portfolio/document/document_message_handler.rs
use super::node_graph::document_node_definitions; use super::node_graph::utility_types::Transform; use super::utility_types::error::EditorError; use super::utility_types::misc::{GroupFolderType, SNAP_FUNCTIONS_FOR_BOUNDING_BOXES, SNAP_FUNCTIONS_FOR_PATHS, SnappingOptions, SnappingState}; use super::utility_types::netwo...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
true
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/mod.rs
editor/src/messages/portfolio/document/mod.rs
mod document_message; mod document_message_handler; pub mod data_panel; pub mod graph_operation; pub mod navigation; pub mod node_graph; pub mod overlays; pub mod properties_panel; pub mod utility_types; #[doc(inline)] pub use document_message::{DocumentMessage, DocumentMessageDiscriminant}; #[doc(inline)] pub use do...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/document_message.rs
editor/src/messages/portfolio/document/document_message.rs
use std::path::PathBuf; use super::utility_types::misc::{GroupFolderType, SnappingState}; use crate::messages::input_mapper::utility_types::input_keyboard::Key; use crate::messages::portfolio::document::data_panel::DataPanelMessage; use crate::messages::portfolio::document::overlays::utility_types::{OverlayContext, Ov...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/misc.rs
editor/src/messages/portfolio/document/utility_types/misc.rs
use crate::consts::COLOR_OVERLAY_GRAY; use glam::DVec2; use graphene_std::raster::Color; use std::fmt; #[repr(transparent)] #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, serde::Serialize, serde::Deserialize, specta::Type)] pub struct DocumentId(pub u64); #[derive(PartialEq, Eq, Clone, Copy, Debug...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/clipboards.rs
editor/src/messages/portfolio/document/utility_types/clipboards.rs
use super::network_interface::NodeTemplate; use graph_craft::document::NodeId; #[repr(u8)] #[derive(serde::Serialize, serde::Deserialize, Clone, Copy, PartialEq, Eq, Debug, specta::Type)] pub enum Clipboard { Internal, Device, _InternalClipboardCount, // Keep this as the last entry of **internal** clipboards since...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/network_interface.rs
editor/src/messages/portfolio/document/utility_types/network_interface.rs
mod deserialization; mod memo_network; mod resolved_types; use super::document_metadata::{DocumentMetadata, LayerNodeIdentifier, NodeRelations}; use super::misc::PTZ; use super::nodes::SelectedNodes; use crate::consts::{EXPORTS_TO_RIGHT_EDGE_PIXEL_GAP, EXPORTS_TO_TOP_EDGE_PIXEL_GAP, GRID_SIZE, IMPORTS_TO_LEFT_EDGE_PIX...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
true
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/error.rs
editor/src/messages/portfolio/document/utility_types/error.rs
use graphene_std::raster::color::Color; use thiserror::Error; /// The error type used by the Graphite editor. #[derive(Clone, Debug, Error)] pub enum EditorError { #[error("Failed to execute operation:\n{0}")] InvalidOperation(String), #[error("Tried to construct an invalid color:\n{0:?}")] Color(String), #[err...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/transformation.rs
editor/src/messages/portfolio/document/utility_types/transformation.rs
use super::network_interface::NodeNetworkInterface; use crate::consts::{ROTATE_INCREMENT, SCALE_INCREMENT}; use crate::messages::portfolio::document::graph_operation::transform_utils; use crate::messages::portfolio::document::graph_operation::utility_types::{ModifyInputsContext, TransformIn}; use crate::messages::portf...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/mod.rs
editor/src/messages/portfolio/document/utility_types/mod.rs
pub mod clipboards; pub mod document_metadata; pub mod error; pub mod misc; pub mod network_interface; pub mod nodes; pub mod transformation; pub mod wires;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/nodes.rs
editor/src/messages/portfolio/document/utility_types/nodes.rs
use super::document_metadata::{DocumentMetadata, LayerNodeIdentifier}; use super::network_interface::NodeNetworkInterface; use crate::messages::tool::common_functionality::graph_modification_utils; use glam::DVec2; use graph_craft::document::{NodeId, NodeNetwork}; use serde::ser::SerializeStruct; #[derive(Debug, Clone...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/document_metadata.rs
editor/src/messages/portfolio/document/utility_types/document_metadata.rs
use super::network_interface::NodeNetworkInterface; use crate::messages::portfolio::document::graph_operation::transform_utils; use crate::messages::portfolio::document::graph_operation::utility_types::ModifyInputsContext; use crate::messages::portfolio::document::utility_types::network_interface::FlowType; use crate::...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/wires.rs
editor/src/messages/portfolio/document/utility_types/wires.rs
use crate::messages::portfolio::document::node_graph::utility_types::FrontendGraphDataType; use glam::{DVec2, IVec2}; use graphene_std::{uuid::NodeId, vector::misc::dvec2_to_point}; use kurbo::{BezPath, DEFAULT_ACCURACY, Line, Point, Shape}; #[derive(Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize, spect...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/network_interface/memo_network.rs
editor/src/messages/portfolio/document/utility_types/network_interface/memo_network.rs
use graph_craft::document::NodeNetwork; use std::cell::Cell; use std::hash::{Hash, Hasher}; #[derive(Debug, Default, Clone, PartialEq)] pub struct MemoNetwork { network: NodeNetwork, hash_code: Cell<Option<u64>>, } impl<'de> serde::Deserialize<'de> for MemoNetwork { fn deserialize<D>(deserializer: D) -> Result<Sel...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/network_interface/deserialization.rs
editor/src/messages/portfolio/document/utility_types/network_interface/deserialization.rs
use crate::messages::portfolio::document::utility_types::network_interface::{DocumentNodePersistentMetadata, InputMetadata, InputPersistentMetadata, NodeNetworkMetadata, NodeTypePersistentMetadata}; use serde_json::Value; use std::collections::HashMap; /// Persistent metadata for each node in the network, which must b...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/utility_types/network_interface/resolved_types.rs
editor/src/messages/portfolio/document/utility_types/network_interface/resolved_types.rs
use std::collections::{HashMap, HashSet}; use graph_craft::document::value::TaggedValue; use graph_craft::document::{DocumentNodeImplementation, InlineRust, NodeInput}; use graph_craft::proto::{GraphErrorType, GraphErrors}; use graph_craft::{Type, concrete}; use graphene_std::uuid::NodeId; use interpreted_executor::dy...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/graph_operation/graph_operation_message_handler.rs
editor/src/messages/portfolio/document/graph_operation/graph_operation_message_handler.rs
use super::transform_utils; use super::utility_types::ModifyInputsContext; use crate::messages::portfolio::document::graph_operation::utility_types::TransformIn; use crate::messages::portfolio::document::utility_types::document_metadata::LayerNodeIdentifier; use crate::messages::portfolio::document::utility_types::netw...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/graph_operation/utility_types.rs
editor/src/messages/portfolio/document/graph_operation/utility_types.rs
use super::transform_utils; use crate::messages::portfolio::document::node_graph::document_node_definitions::resolve_document_node_type; use crate::messages::portfolio::document::utility_types::document_metadata::LayerNodeIdentifier; use crate::messages::portfolio::document::utility_types::network_interface::{self, Inp...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/graph_operation/graph_operation_message.rs
editor/src/messages/portfolio/document/graph_operation/graph_operation_message.rs
use super::utility_types::TransformIn; use crate::messages::portfolio::document::utility_types::document_metadata::LayerNodeIdentifier; use crate::messages::portfolio::document::utility_types::network_interface::NodeTemplate; use crate::messages::prelude::*; use glam::{DAffine2, IVec2}; use graph_craft::document::NodeI...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/graph_operation/mod.rs
editor/src/messages/portfolio/document/graph_operation/mod.rs
mod graph_operation_message; pub mod graph_operation_message_handler; pub mod transform_utils; pub mod utility_types; #[doc(inline)] pub use graph_operation_message::*; #[doc(inline)] pub use graph_operation_message_handler::*;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/graph_operation/transform_utils.rs
editor/src/messages/portfolio/document/graph_operation/transform_utils.rs
use crate::messages::portfolio::document::utility_types::network_interface::{InputConnector, NodeNetworkInterface}; use glam::{DAffine2, DVec2}; use graph_craft::document::value::TaggedValue; use graph_craft::document::{NodeId, NodeInput}; use graphene_std::subpath::Subpath; use graphene_std::vector::PointId; /// Conv...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/data_panel/mod.rs
editor/src/messages/portfolio/document/data_panel/mod.rs
mod data_panel_message; mod data_panel_message_handler; #[doc(inline)] pub use data_panel_message::*; #[doc(inline)] pub use data_panel_message_handler::*;
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/data_panel/data_panel_message_handler.rs
editor/src/messages/portfolio/document/data_panel/data_panel_message_handler.rs
use super::VectorTableTab; use crate::messages::layout::utility_types::layout_widget::{Layout, LayoutGroup, LayoutTarget}; use crate::messages::portfolio::document::data_panel::DataPanelMessage; use crate::messages::portfolio::document::utility_types::network_interface::NodeNetworkInterface; use crate::messages::prelud...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/data_panel/data_panel_message.rs
editor/src/messages/portfolio/document/data_panel/data_panel_message.rs
use crate::messages::prelude::*; use crate::node_graph_executor::InspectResult; /// The Data panel UI allows the user to visualize the output data of the selected node. #[impl_message(Message, DocumentMessage, DataPanel)] #[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)] pub enum DataPanelMessag...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/overlays/utility_types_native.rs
editor/src/messages/portfolio/document/overlays/utility_types_native.rs
use crate::consts::{ ARC_SWEEP_GIZMO_RADIUS, COLOR_OVERLAY_BLUE, COLOR_OVERLAY_BLUE_50, COLOR_OVERLAY_GREEN, COLOR_OVERLAY_RED, COLOR_OVERLAY_WHITE, COLOR_OVERLAY_YELLOW, COLOR_OVERLAY_YELLOW_DULL, COMPASS_ROSE_ARROW_SIZE, COMPASS_ROSE_HOVER_RING_DIAMETER, COMPASS_ROSE_MAIN_RING_DIAMETER, COMPASS_ROSE_RING_INNER_DIAM...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
true
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/overlays/utility_types_web.rs
editor/src/messages/portfolio/document/overlays/utility_types_web.rs
use super::utility_functions::overlay_canvas_context; use crate::consts::{ ARC_SWEEP_GIZMO_RADIUS, COLOR_OVERLAY_BLUE, COLOR_OVERLAY_BLUE_50, COLOR_OVERLAY_GREEN, COLOR_OVERLAY_RED, COLOR_OVERLAY_WHITE, COLOR_OVERLAY_YELLOW, COLOR_OVERLAY_YELLOW_DULL, COMPASS_ROSE_ARROW_SIZE, COMPASS_ROSE_HOVER_RING_DIAMETER, COMPASS...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
true
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/overlays/grid_overlays.rs
editor/src/messages/portfolio/document/overlays/grid_overlays.rs
use crate::messages::layout::utility_types::widget_prelude::*; use crate::messages::portfolio::document::overlays::utility_types::OverlayContext; use crate::messages::portfolio::document::utility_types::misc::{GridSnapping, GridType}; use crate::messages::prelude::*; use glam::DVec2; use graphene_std::raster::color::Co...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false
GraphiteEditor/Graphite
https://github.com/GraphiteEditor/Graphite/blob/42440c0d0bcf5735b05d8a9e5bd27187f74b1589/editor/src/messages/portfolio/document/overlays/mod.rs
editor/src/messages/portfolio/document/overlays/mod.rs
pub mod grid_overlays; mod overlays_message; mod overlays_message_handler; pub mod utility_functions; // Native (non‑wasm) #[cfg(not(target_family = "wasm"))] pub mod utility_types_native; #[cfg(not(target_family = "wasm"))] pub use utility_types_native as utility_types; // WebAssembly #[cfg(target_family = "wasm")] p...
rust
Apache-2.0
42440c0d0bcf5735b05d8a9e5bd27187f74b1589
2026-01-04T15:38:29.103662Z
false