Trait ViewTrait

Source
pub trait ViewTrait: Display {
    // Required method
    fn get_object(&self) -> &'static str;
}
Expand description

A trait for getting information about a view type

Required Methods§

Source

fn get_object(&self) -> &'static str

Get view object name

Implementors§