pub trait CellRenderer: Debug + Send {
// Required method
fn render_str(&self) -> String;
}Expand description
Trait for custom cell rendering.
Implement this to supply a custom display string for Cell::Custom variants.
The trait requires std::fmt::Debug and Send so that cell values can be
inspected and passed across thread boundaries.
Required Methods§
Sourcefn render_str(&self) -> String
fn render_str(&self) -> String
Render this value as a display string.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".