pub enum MaybeWindowAvailable {
Available {
window: Window,
event: Event,
},
NotAvailable {
event: Event,
},
}Expand description
Represents a window that may or may not be available.
Variants§
Available
The window is available.
NotAvailable
The window is not available. This can happen when the window is closed.
Trait Implementations§
Source§impl Clone for MaybeWindowAvailable
impl Clone for MaybeWindowAvailable
Source§fn clone(&self) -> MaybeWindowAvailable
fn clone(&self) -> MaybeWindowAvailable
Returns a duplicate 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 MaybeWindowAvailable
impl Debug for MaybeWindowAvailable
Source§impl PartialEq for MaybeWindowAvailable
impl PartialEq for MaybeWindowAvailable
impl StructuralPartialEq for MaybeWindowAvailable
Auto Trait Implementations§
impl Freeze for MaybeWindowAvailable
impl RefUnwindSafe for MaybeWindowAvailable
impl Send for MaybeWindowAvailable
impl Sync for MaybeWindowAvailable
impl Unpin for MaybeWindowAvailable
impl UnwindSafe for MaybeWindowAvailable
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