Enum swayipc_async::WindowChange
source · #[non_exhaustive]pub enum WindowChange {
New,
Close,
Focus,
Title,
FullscreenMode,
Move,
Floating,
Urgent,
Mark,
}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.
New
The view was created.
Close
The view was closed.
Focus
The view was focused.
Title
The view’s title has changed.
FullscreenMode
The view’s fullscreen mode has changed.
Move
The view has been reparented in the tree.
Floating
The view has become floating or is no longer floating.
Urgent
The view’s urgency hint has changed status.
Mark
A mark has been added or.
Trait Implementations§
source§impl Clone for WindowChange
impl Clone for WindowChange
source§fn clone(&self) -> WindowChange
fn clone(&self) -> WindowChange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for WindowChange
impl Debug for WindowChange
source§impl<'de> Deserialize<'de> for WindowChange
impl<'de> Deserialize<'de> for WindowChange
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowChange, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowChange, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for WindowChange
impl PartialEq for WindowChange
source§fn eq(&self, other: &WindowChange) -> bool
fn eq(&self, other: &WindowChange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WindowChange
impl Serialize for WindowChange
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for WindowChange
impl StructuralPartialEq for WindowChange
Auto Trait Implementations§
impl RefUnwindSafe for WindowChange
impl Send for WindowChange
impl Sync for WindowChange
impl Unpin for WindowChange
impl UnwindSafe for WindowChange
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