#[non_exhaustive]pub enum HoverButton {
None,
Close,
Minimize,
Maximize,
}Expand description
Which window button the pointer is over.
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.
Trait Implementations§
Source§impl Clone for HoverButton
impl Clone for HoverButton
impl Copy for HoverButton
Source§impl Debug for HoverButton
impl Debug for HoverButton
Source§impl Default for HoverButton
impl Default for HoverButton
impl Eq for HoverButton
Source§impl Hash for HoverButton
impl Hash for HoverButton
Source§impl PartialEq for HoverButton
impl PartialEq for HoverButton
impl StructuralPartialEq for HoverButton
Auto Trait Implementations§
impl Freeze for HoverButton
impl RefUnwindSafe for HoverButton
impl Send for HoverButton
impl Sync for HoverButton
impl Unpin for HoverButton
impl UnsafeUnpin for HoverButton
impl UnwindSafe for HoverButton
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