MCPcopy Create free account
hub / github.com/StrataWM/strata / windows

Method windows

src/workspaces.rs:98–100  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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))
100 }
101
102 pub fn strata_windows(&self) -> impl Iterator<Item = Ref<'_, StrataWindow>> {
103 self.windows.iter().map(|w| Ref::map(w.borrow(), |hw| hw))

Callers 2

winit_updateMethod · 0.80
all_windowsMethod · 0.80

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected