[][src]Struct qt_core::WindowState

#[repr(transparent)]
pub struct WindowState(_);

This enum type is used to specify the current state of a top-level window.

C++ enum: Qt::WindowState.

C++ documentation:

This enum type is used to specify the current state of a top-level window.

The states are

The WindowStates type is a typedef for QFlags<WindowState>. It stores an OR combination of WindowState values.

Methods

impl WindowState[src]

pub fn to_int(&self) -> c_int[src]

impl WindowState[src]

pub const WindowNoState: WindowState[src]

The window has no state set (in normal state). (C++ enum variant: WindowNoState = 0)

pub const WindowMinimized: WindowState[src]

The window is minimized (i.e. iconified). (C++ enum variant: WindowMinimized = 1)

pub const WindowMaximized: WindowState[src]

The window is maximized with a frame around it. (C++ enum variant: WindowMaximized = 2)

pub const WindowFullScreen: WindowState[src]

The window fills the entire screen without any frame around it. (C++ enum variant: WindowFullScreen = 4)

pub const WindowActive: WindowState[src]

The window is the active window, i.e. it has keyboard focus. (C++ enum variant: WindowActive = 8)

Trait Implementations

impl<T: Into<QFlags<WindowState>>> BitOr<T> for WindowState[src]

type Output = QFlags<WindowState>

The resulting type after applying the | operator.

impl Clone for WindowState[src]

impl Copy for WindowState[src]

impl Debug for WindowState[src]

impl Eq for WindowState[src]

impl From<WindowState> for c_int[src]

impl From<WindowState> for QFlags<WindowState>[src]

impl From<i32> for WindowState[src]

impl PartialEq<WindowState> for WindowState[src]

impl StructuralEq for WindowState[src]

impl StructuralPartialEq for WindowState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.