[][src]Struct druid_shell::platform::embedded::window::WindowHandle

pub struct WindowHandle<THandler: WinHandler<THandler>> {
    pub window_id: WindowIdType,
    pub state: WindowState<THandler>,
}

Fields

window_id: WindowIdTypestate: WindowState<THandler>

Methods

impl<THandler: WinHandler<THandler> + Clone + Default> WindowHandle<THandler>[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 + WinHandler<THandler>> Clone for WindowHandle<THandler>[src]

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

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

impl<THandler: WinHandler<THandler> + Clone + Default> From<WindowHandle<THandler>> for WindowHandle<THandler>[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.