pub trait Viewable {
// Required methods
fn labels(&self) -> Vec<String>;
fn slice(&self) -> Slice;
}
Expand description
Viewable is a common trait implemented for data structures from which views may be created. This allows us to provide a consistent API for constructing and composing views.