use crate::*; use crate::ratatui::style::Style; pub struct Column { pub title: Arc, pub width: usize, pub collapsed: bool, pub getter: G, pub setter: Option, pub styler: Option, } type Getter = fn(&T)->Option>; type Setter = fn(&mut T, usize, &str); type Styler = fn(&T)->Option