()
| 92 | } |
| 93 | impl Workspace { |
| 94 | pub fn new() -> Self { |
| 95 | Workspace { windows: Vec::new(), outputs: Vec::new(), layout_tree: Dwindle::new() } |
| 96 | } |
| 97 | |
| 98 | pub fn windows(&self) -> impl Iterator<Item = Ref<'_, Window>> { |
| 99 | self.windows.iter().map(|w| Ref::map(w.borrow(), |hw| &hw.smithay_window)) |
nothing calls this directly
no outgoing calls
no test coverage detected