Enum swayipc_async::WorkspaceChange
source · [−]#[non_exhaustive]
pub enum WorkspaceChange {
Init,
Empty,
Focus,
Move,
Rename,
Urgent,
Reload,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Init
The workspace was created.
Empty
The workspace is empty and is being destroyed since it is not visible.
Focus
The workspace was focused. See the old property for the previous focus.
Move
The workspace was moved to a different output.
Rename
The workspace was renamed.
Urgent
A view on the workspace has had their urgency hint set or all urgency hints for views on the workspace have been cleared.
Reload
The configuration file has been reloaded.
Trait Implementations
sourceimpl Debug for WorkspaceChange
impl Debug for WorkspaceChange
sourceimpl<'de> Deserialize<'de> for WorkspaceChange
impl<'de> Deserialize<'de> for WorkspaceChange
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<WorkspaceChange, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<WorkspaceChange, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<WorkspaceChange> for WorkspaceChange
impl PartialEq<WorkspaceChange> for WorkspaceChange
impl StructuralPartialEq for WorkspaceChange
Auto Trait Implementations
impl RefUnwindSafe for WorkspaceChange
impl Send for WorkspaceChange
impl Sync for WorkspaceChange
impl Unpin for WorkspaceChange
impl UnwindSafe for WorkspaceChange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more