summaryrefslogtreecommitdiffstats
path: root/native/src/debug/null.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/debug/null.rs')
-rw-r--r--native/src/debug/null.rs46
1 files changed, 46 insertions, 0 deletions
diff --git a/native/src/debug/null.rs b/native/src/debug/null.rs
new file mode 100644
index 00000000..2a9430cd
--- /dev/null
+++ b/native/src/debug/null.rs
@@ -0,0 +1,46 @@
+#[derive(Debug)]
+pub struct Debug;
+
+impl Debug {
+ pub fn new() -> Self {
+ Self
+ }
+
+ pub fn startup_started(&mut self) {}
+
+ pub fn startup_finished(&mut self) {}
+
+ pub fn update_started(&mut self) {}
+
+ pub fn update_finished(&mut self) {}
+
+ pub fn view_started(&mut self) {}
+
+ pub fn view_finished(&mut self) {}
+
+ pub fn layout_started(&mut self) {}
+
+ pub fn layout_finished(&mut self) {}
+
+ pub fn event_processing_started(&mut self) {}
+
+ pub fn event_processing_finished(&mut self) {}
+
+ pub fn draw_started(&mut self) {}
+
+ pub fn draw_finished(&mut self) {}
+
+ pub fn render_started(&mut self) {}
+
+ pub fn render_finished(&mut self) {}
+
+ pub fn log_message<Message: std::fmt::Debug>(
+ &mut self,
+ _message: &Message,
+ ) {
+ }
+
+ pub fn overlay(&self) -> Vec<String> {
+ Vec::new()
+ }
+}