[][src]Struct druid::PlatformWindowHandle

pub struct PlatformWindowHandle<THandler> where
    THandler: WinHandler<THandler>, 
{ pub window_id: u8, pub state: WindowState<THandler>, }

Fields

window_id: u8state: WindowState<THandler>

Methods

impl<THandler> WindowHandle<THandler> where
    THandler: WinHandler<THandler> + Clone + Default
[src]

pub fn show(&self)[src]

pub fn close(&self)[src]

Close the window.

pub fn bring_to_front_and_focus(&self)[src]

Bring this window to the front of the window stack and give it focus.

pub fn invalidate(&self)[src]

Trait Implementations

impl<THandler> Clone for WindowHandle<THandler> where
    THandler: WinHandler<THandler> + Clone
[src]

impl<THandler> Copy for WindowHandle<THandler> where
    THandler: WinHandler<THandler> + Copy
[src]

impl<THandler> Default for WindowHandle<THandler> where
    THandler: WinHandler<THandler> + Default
[src]

impl<THandler> From<WindowHandle<THandler>> for WindowHandle<THandler> where
    THandler: WinHandler<THandler> + Clone + Default
[src]

Auto Trait Implementations

impl<THandler> Send for WindowHandle<THandler> where
    THandler: Send

impl<THandler> Sync for WindowHandle<THandler> where
    THandler: Sync

impl<THandler> Unpin for WindowHandle<THandler> where
    THandler: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RoundFrom<T> for T[src]

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.