Trait kas_theme::WindowDst [−][src]
pub trait WindowDst<D: DrawShared> { unsafe fn size_handle(&mut self, draw: &mut D) -> StackDst<dyn SizeHandle>; fn as_any_mut(&mut self) -> &mut dyn Any; }
Expand description
Required methods
unsafe fn size_handle(&mut self, draw: &mut D) -> StackDst<dyn SizeHandle>[src]
unsafe fn size_handle(&mut self, draw: &mut D) -> StackDst<dyn SizeHandle>[src]Construct a SizeHandle object
The draw reference is guaranteed to be identical to the one used to
construct this object.
This function is unsafe because the returned object requires a lifetime bound not exceeding that of all three pointers passed in.
fn as_any_mut(&mut self) -> &mut dyn Any[src]Implementors
impl<D: DrawShared, W: Window<D>> WindowDst<D> for W where
<W as Window<D>>::SizeHandle: 'static, [src]
impl<D: DrawShared, W: Window<D>> WindowDst<D> for W where
<W as Window<D>>::SizeHandle: 'static, [src]