pub enum CaptionButton {
Minimize,
Maximize,
Close,
}Expand description
Which system caption button is under the pointer.
Variants§
Implementations§
Source§impl CaptionButton
impl CaptionButton
Sourcepub const fn slint_value(self) -> i32
pub const fn slint_value(self) -> i32
Value expected by the bundled Win32TitleBar.hover-button property.
Trait Implementations§
Source§impl Clone for CaptionButton
impl Clone for CaptionButton
impl Copy for CaptionButton
Source§impl Debug for CaptionButton
impl Debug for CaptionButton
impl Eq for CaptionButton
Source§impl PartialEq for CaptionButton
impl PartialEq for CaptionButton
impl StructuralPartialEq for CaptionButton
Auto Trait Implementations§
impl Freeze for CaptionButton
impl RefUnwindSafe for CaptionButton
impl Send for CaptionButton
impl Sync for CaptionButton
impl Unpin for CaptionButton
impl UnsafeUnpin for CaptionButton
impl UnwindSafe for CaptionButton
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