pub enum WindowState {
Active,
Inactive,
}
Expand description
Represents the status of a window
Variants§
Trait Implementations§
source§impl Clone for WindowState
impl Clone for WindowState
source§fn clone(&self) -> WindowState
fn clone(&self) -> WindowState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WindowState
impl Debug for WindowState
source§impl From<WindowState> for bool
impl From<WindowState> for bool
source§fn from(s: WindowState) -> bool
fn from(s: WindowState) -> bool
Converts to this type from the input type.
source§impl From<bool> for WindowState
impl From<bool> for WindowState
source§fn from(b: bool) -> WindowState
fn from(b: bool) -> WindowState
Converts to this type from the input type.
source§impl PartialEq for WindowState
impl PartialEq for WindowState
source§fn eq(&self, other: &WindowState) -> bool
fn eq(&self, other: &WindowState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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