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 Jiff date and time cells use localized formatting.
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 ZonedDateTime
Available on crate feature jiff only.
impl TableCell for ZonedDateTime
Available on crate feature
jiff only.