pub trait TableCell {
// Required method
fn draw(&self, window: &mut Window, cx: &mut App) -> AnyElement;
}Expand description
A value that can be displayed in a table cell.
Built-in Chrono cells use localized formatting when Jiff can represent the
value. Dates outside Jiff’s range and leap seconds use the original Chrono
Display representation, preserving the value and its original offset.
Required Methods§
fn draw(&self, window: &mut Window, cx: &mut App) -> AnyElement
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl TableCell for NaiveDateTime
Available on crate feature chrono only.
impl TableCell for NaiveDateTime
Available on crate feature
chrono only.