Enum smithay_client_toolkit::window::WindowState
source · [−]pub enum WindowState {
Active,
Inactive,
}
Expand description
Represents the status of a window
Variants
Active
The window is active, in the foreground
Inactive
The window is inactive, in the background
Trait Implementations
sourceimpl Clone for WindowState
impl Clone for WindowState
sourcefn clone(&self) -> WindowState
fn clone(&self) -> WindowState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WindowState
impl Debug for WindowState
sourceimpl From<WindowState> for bool
impl From<WindowState> for bool
sourcefn from(s: WindowState) -> bool
fn from(s: WindowState) -> bool
Converts to this type from the input type.
sourceimpl From<bool> for WindowState
impl From<bool> for WindowState
sourcefn from(b: bool) -> WindowState
fn from(b: bool) -> WindowState
Converts to this type from the input type.
sourceimpl PartialEq<WindowState> for WindowState
impl PartialEq<WindowState> for WindowState
impl Copy for WindowState
impl Eq for WindowState
impl StructuralEq for WindowState
impl StructuralPartialEq for WindowState
Auto Trait Implementations
impl RefUnwindSafe for WindowState
impl Send for WindowState
impl Sync for WindowState
impl Unpin for WindowState
impl UnwindSafe for WindowState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more