[][src]Struct druid::win_handler::Windows

struct Windows<T: Data + 'static + Default> {
    phantom: PhantomData<T>,
}

All active windows.

Fields

phantom: PhantomData<T>

Methods

impl<T: Data + 'static + Default> Windows<T>[src]

fn connect(&mut self, _id: WindowId, _handle: WindowHandle<DruidHandler<T>>)[src]

fn add(&mut self, id: WindowId, window: WindowBox<T>)[src]

fn remove(&mut self, _id: WindowId) -> Option<WindowHandle<DruidHandler<T>>>[src]

fn get<'a>(
    &'a mut self,
    window_id: WindowId,
    _data: &'a mut T,
    _env: &'a Env
) -> Option<SingleWindowState<T>>
[src]

Trait Implementations

impl<T: Clone + Data + 'static + Default> Clone for Windows<T>[src]

impl<T: Data + 'static + Default> Default for Windows<T>[src]

Auto Trait Implementations

impl<T> Send for Windows<T> where
    T: Send

impl<T> Sync for Windows<T> where
    T: Sync

impl<T> Unpin for Windows<T> where
    T: 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.