pub trait SelectRow: Sized {
const HEADERS: &'static [&'static str];
const WIDTHS: &'static [Constraint];
// Required methods
fn parse(plist: &Value) -> Result<Self, String>;
fn key(&self) -> &str;
fn cells(&self) -> Vec<String>;
// Provided method
fn has_key(&self, key: &str) -> bool { ... }
}Expand description
A row type a SelectList can fetch, select by key and draw.
Required Associated Constants§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".