Skip to main content

OpeningView

Trait OpeningView 

Source
pub trait OpeningView: Widget {
    // Required method
    fn into_lent(self: Box<Self>) -> Box<dyn Any>;
}
Expand description

What a window shows before its record (ResourceApp::opening): a widget that the view takes over as the service it was lent.

Required Methods§

Source

fn into_lent(self: Box<Self>) -> Box<dyn Any>

This, as the service lent to the view.

Implementors§

Source§

impl<W: Widget + 'static> OpeningView for W