[−][src]Struct druid::WindowBox
Boxed version of a Window
Methods
impl<D: Data + 'static + Default> WindowBox<D>[src]
Generic implementation of WindowBox
impl<D: Data + 'static + Default> WindowBox<D>[src]
Implementation of WindowBox. We just forward to the inner Window.
pub fn event(
&mut self,
ctx: &mut EventCtx<D>,
event: &Event,
data: &mut D,
env: &Env
)[src]
&mut self,
ctx: &mut EventCtx<D>,
event: &Event,
data: &mut D,
env: &Env
)
pub fn update(&mut self, ctx: &mut UpdateCtx<D>, data: &D, env: &Env)[src]
pub fn layout(&mut self, layout_ctx: &mut LayoutCtx, data: &D, env: &Env)[src]
pub fn paint(&mut self, paint_ctx: &mut PaintCtx, data: &D, env: &Env)[src]
pub fn has_active(&mut self) -> bool[src]
Trait Implementations
impl<D: Clone + Data + 'static + Default> Clone for WindowBox<D>[src]
fn clone(&self) -> WindowBox<D>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<D: Default + Data + 'static> Default for WindowBox<D>[src]
Auto Trait Implementations
impl<D> Send for WindowBox<D> where
D: Send,
D: Send,
impl<D> Sync for WindowBox<D> where
D: Sync,
D: Sync,
impl<D> Unpin for WindowBox<D> where
D: Unpin,
D: 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>,