pub enum WindowEventType {
Created,
Closed,
Resized,
Moved,
Activated,
Deactivated,
Minimized,
Maximized,
Restored,
}Expand description
事件处理相关功能 窗口事件类型
Variants§
Created
窗口创建
Closed
窗口关闭
Resized
窗口调整大小
Moved
窗口移动
Activated
窗口激活
Deactivated
窗口失活
Minimized
窗口最小化
Maximized
窗口最大化
Restored
窗口还原
Trait Implementations§
Source§impl Debug for WindowEventType
impl Debug for WindowEventType
Source§impl<'de> Deserialize<'de> for WindowEventType
impl<'de> Deserialize<'de> for WindowEventType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WindowEventType
impl PartialEq for WindowEventType
Source§impl Serialize for WindowEventType
impl Serialize for WindowEventType
impl Eq for WindowEventType
impl StructuralPartialEq for WindowEventType
Auto Trait Implementations§
impl Freeze for WindowEventType
impl RefUnwindSafe for WindowEventType
impl Send for WindowEventType
impl Sync for WindowEventType
impl Unpin for WindowEventType
impl UnsafeUnpin for WindowEventType
impl UnwindSafe for WindowEventType
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