[][src]Trait kas_theme::WindowDst

pub trait WindowDst {
    pub unsafe fn size_handle(&mut self) -> StackDst<dyn SizeHandle>;
pub fn as_any_mut(&mut self) -> &mut dyn Any; }

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

pub unsafe fn size_handle(&mut self) -> 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.

pub fn as_any_mut(&mut self) -> &mut dyn Any[src]

Loading content...

Implementors

impl<W: Window> WindowDst for W where
    <W as Window>::SizeHandle: 'static, 
[src]

Loading content...