(self)
| 93 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] |
| 94 | enum MainSurface { |
| 95 | Document, |
| 96 | Debugger, |
| 97 | } |
| 98 | |
| 99 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] |
| 100 | enum LaunchMode { |
| 101 | Run, |
| 102 | Debug, |
| 103 | } |
| 104 | #[derive(Clone, PartialEq)] |
| 105 | struct BuildTarget { |
| 106 | manifest_path: VPath, |
| 107 | root_path: VPath, |
| 108 | } |
| 109 | |
| 110 | struct ShellLayout { |
| 111 | tool_window_width: f32, |
| 112 | tool_window_drag_start: Option<f32>, |
| 113 | } |
| 114 | |
| 115 | impl Default for ShellLayout { |
| 116 | fn default() -> Self { |
| 117 | Self { |
| 118 | tool_window_width: metrics::TOOL_WINDOW_DEFAULT, |
| 119 | tool_window_drag_start: None, |
| 120 | } |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | pub(super) struct StageCache { |
| 125 | path: String, |
no outgoing calls
no test coverage detected