1use super::ViewObject; 2 3/// The Viewable should be implemented by all objects that compose a view. 4/// 5pub trait Viewable { 6 /// The view bound to this object. 7 fn view(&self) -> Box<dyn ViewObject>; 8}