[−][src]Struct druid_shell::window::WindowHandle
A handle to a platform window object.
Methods
impl<THandler: WinHandler<THandler> + Clone + Default> WindowHandle<THandler>[src]
pub fn show(&self)[src]
Make this window visible.
This is part of the initialization process; it should only be called once, when a window is first created.
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]
Request invalidation of the entire window contents.
Trait Implementations
impl<THandler: Clone + WinHandler<THandler> + Default> Clone for WindowHandle<THandler>[src]
fn clone(&self) -> WindowHandle<THandler>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<THandler: Default + WinHandler<THandler> + Clone> Default for WindowHandle<THandler>[src]
fn default() -> WindowHandle<THandler>[src]
impl<THandler: WinHandler<THandler> + Clone + Default> From<WindowHandle<THandler>> for WindowHandle<THandler>[src]
fn from(src: WindowHandle<THandler>) -> WindowHandle<THandler>[src]
Auto Trait Implementations
impl<THandler> Send for WindowHandle<THandler> where
THandler: Send,
THandler: Send,
impl<THandler> Sync for WindowHandle<THandler> where
THandler: Sync,
THandler: Sync,
impl<THandler> Unpin for WindowHandle<THandler> where
THandler: Unpin,
THandler: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> RoundFrom<T> for T[src]
fn round_from(x: T) -> T[src]
impl<T, U> RoundInto<U> for T where
U: RoundFrom<T>, [src]
U: RoundFrom<T>,
fn round_into(self) -> U[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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,