Struct niri_ipc::state::WorkspacesState
source · pub struct WorkspacesState {
pub workspaces: HashMap<u64, Workspace>,
}
Expand description
The workspaces state communicated over the event stream.
Fields§
§workspaces: HashMap<u64, Workspace>
Map from a workspace id to the workspace.
Trait Implementations§
source§impl Debug for WorkspacesState
impl Debug for WorkspacesState
source§impl Default for WorkspacesState
impl Default for WorkspacesState
source§fn default() -> WorkspacesState
fn default() -> WorkspacesState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkspacesState
impl RefUnwindSafe for WorkspacesState
impl Send for WorkspacesState
impl Sync for WorkspacesState
impl Unpin for WorkspacesState
impl UnwindSafe for WorkspacesState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more