pub trait Viewable {
fn view(&self) -> Box<dyn ViewObject + 'static, Global>;
}
Expand description
The Viewable should be implemented by all objects that compose a view.
Required Methods
fn view(&self) -> Box<dyn ViewObject + 'static, Global>
fn view(&self) -> Box<dyn ViewObject + 'static, Global>
The view bound to this object.