pub trait Layout: Widget {
// Required methods
fn align_elems(&mut self);
fn forward_keys(&mut self, key_map: &mut HashMap<char, ButtonResult>);
}
Expand description
Specialized version of a widget that implements an alignment function and method for forwarding keys to the parent widgets key map.