[−][src]Trait kas_theme::WindowDst
As Window
, but without associated types
This trait is implemented automatically for all implementations of
Window
. It is intended only for use where a less parameterised
trait is required.
Feature gated: this is only available with feature stack_dst
.
Required methods
unsafe fn size_handle(&mut self, draw: &mut Draw) -> StackDst<dyn SizeHandle>
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
Implementors
impl<W: Window<Draw>, Draw> WindowDst<Draw> for W where
<W as Window<Draw>>::SizeHandle: 'static,
[src]
<W as Window<Draw>>::SizeHandle: 'static,
unsafe fn size_handle<'a>(
&'a mut self,
draw: &'a mut Draw
) -> StackDst<dyn SizeHandle>
[src]
&'a mut self,
draw: &'a mut Draw
) -> StackDst<dyn SizeHandle>