pub enum WindowContext {
NoWindow,
Win(Hwnd),
}Expand description
Allows one to pass a window handle to the action function.
The concrete meaning of this depends on the action. For many actions this is not relevant at all.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WindowContext
impl Clone for WindowContext
Source§fn clone(&self) -> WindowContext
fn clone(&self) -> WindowContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WindowContext
Source§impl Debug for WindowContext
impl Debug for WindowContext
impl Eq for WindowContext
Source§impl Hash for WindowContext
impl Hash for WindowContext
Source§impl PartialEq for WindowContext
impl PartialEq for WindowContext
Source§fn eq(&self, other: &WindowContext) -> bool
fn eq(&self, other: &WindowContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WindowContext
Auto Trait Implementations§
impl !Send for WindowContext
impl !Sync for WindowContext
impl Freeze for WindowContext
impl RefUnwindSafe for WindowContext
impl Unpin for WindowContext
impl UnsafeUnpin for WindowContext
impl UnwindSafe for WindowContext
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