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 · 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 WindowContext
impl Debug for WindowContext
Source§impl Hash for WindowContext
impl Hash for WindowContext
Source§impl PartialEq for WindowContext
impl PartialEq for WindowContext
impl Copy for WindowContext
impl Eq for WindowContext
impl StructuralPartialEq for WindowContext
Auto Trait Implementations§
impl Freeze for WindowContext
impl RefUnwindSafe for WindowContext
impl !Send for WindowContext
impl !Sync for WindowContext
impl Unpin 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