pub trait PhlowView: Debug + Display + Any {
// Required methods
fn get_title(&self) -> &str;
fn get_priority(&self) -> usize;
fn get_view_type(&self) -> &str;
fn get_defining_method(&self) -> &PhlowViewMethod;
fn view_type() -> &'static str
where Self: Sized;
fn object(&self) -> &PhlowObject;
fn as_any(&self) -> &dyn Any;
fn to_any(self: Box<Self>) -> Box<dyn Any>;
// Provided methods
fn list(&self) -> PhlowListView { ... }
fn columned_list(&self) -> PhlowColumnedListView { ... }
fn text(&self) -> PhlowTextView { ... }
}