MCPcopy Index your code
hub / github.com/GraphiteEditor/Graphite / MessageHandler

Interface MessageHandler

editor/src/utility_traits.rs:7–15  ·  view source on GitHub ↗

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`) is the type of the context struct that can be passed along by the caller to `process_message()`.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 15

layout_message_handler.rseditor/src/messages/layout/layout_mess
input_mapper_message_handler.rseditor/src/messages/input_mapper/input
key_mapping_message_handler.rseditor/src/messages/input_mapper/key_m
app_window_message_handler.rseditor/src/messages/app_window/app_win
preferences_message_handler.rseditor/src/messages/preferences/prefer
future_message_handler.rseditor/src/messages/future/future_mess
network_message_handler.rseditor/src/messages/network/network_me
portfolio_message_handler.rseditor/src/messages/portfolio/portfoli
persistent_state_message_handler.rseditor/src/messages/portfolio/persiste
document_message_handler.rseditor/src/messages/portfolio/document
properties_panel_message_handler.rseditor/src/messages/portfolio/document
resource_message_handler.rseditor/src/messages/portfolio/document

Calls

no outgoing calls

Tested by

no test coverage detected