Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StrataWM/strata
/ current_mut
Method
current_mut
src/workspaces.rs:282–284 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
280
}
281
282
pub fn current_mut(&mut self) -> &mut Workspace {
283
&mut self.workspaces[self.current as usize]
284
}
285
286
pub fn current(&self) -> &Workspace {
287
&self.workspaces[self.current as usize]
Callers
1
new_toplevel
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected