[−][src]Struct qt_core::WindowState
This enum type is used to specify the current state of a top-level window.
C++ enum: Qt::WindowState
.
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]
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 Eq for WindowState
[src]
impl Clone for WindowState
[src]
fn clone(&self) -> WindowState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<WindowState> for WindowState
[src]
fn eq(&self, other: &WindowState) -> bool
[src]
fn ne(&self, other: &WindowState) -> bool
[src]
impl From<i32> for WindowState
[src]
impl From<WindowState> for c_int
[src]
fn from(value: WindowState) -> Self
[src]
impl From<WindowState> for QFlags<WindowState>
[src]
fn from(value: WindowState) -> Self
[src]
impl Copy for WindowState
[src]
impl<T: Into<QFlags<WindowState>>> BitOr<T> for WindowState
[src]
type Output = QFlags<WindowState>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<WindowState>
[src]
impl Debug for WindowState
[src]
Auto Trait Implementations
impl Send for WindowState
impl Unpin for WindowState
impl Sync for WindowState
impl UnwindSafe for WindowState
impl RefUnwindSafe for WindowState
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,