#[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 duplicate 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§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 Freeze for WindowChange
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