logo

Trait primitives::prelude::Viewable[][src]

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

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

Required methods

The view bound to this object.

Implementors