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

Method current

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

Source from the content-addressed store, hash-verified

284 }
285
286 pub fn current(&self) -> &Workspace {
287 &self.workspaces[self.current as usize]
288 }
289
290 pub fn all_windows(&self) -> impl Iterator<Item = Ref<'_, Window>> {
291 self.workspaces.iter().flat_map(|w| w.windows())

Callers 9

winit_renderMethod · 0.80
surface_underMethod · 0.80
winit_updateMethod · 0.80
close_windowMethod · 0.80
handle_commitFunction · 0.80
pointer_motionMethod · 0.80
new_layer_surfaceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected