Viewable

Trait Viewable 

Source
pub trait Viewable {
    // Required method
    fn view(&self) -> Box<dyn ViewObject>;
}
Expand description

The Viewable should be implemented by all objects that compose a view.

Required Methods§

Source

fn view(&self) -> Box<dyn ViewObject>

The view bound to this object.

Implementors§