AsWindow

Trait AsWindow 

Source
pub trait AsWindow {
    // Required method
    fn as_window(&self) -> BorrowedWindow<'_>;
}
Available on crate feature winio only.
Expand description

Trait to borrow the window handle.

Required Methods§

Source

fn as_window(&self) -> BorrowedWindow<'_>

Get the window handle.

Implementations on Foreign Types§

Source§

impl AsWindow for Window

Source§

impl<T> AsWindow for &T
where T: AsWindow + ?Sized,

Implementors§

Source§

impl AsWindow for BorrowedWindow<'_>

Source§

impl AsWindow for everything_plugin::ui::winio::prelude::Window

Source§

impl<T> AsWindow for Child<T>
where T: AsWindow + Component,