pub trait TableOutputFormat {
// Required method
fn extract_write<'buf, 'data>(
&self,
x: &InputExtract<'data>,
c: &mut Context<'buf>,
) -> Result;
}Expand description
Trait for converting table extracts into string representations.
TableOutputFormat defines the method for formatting table data
and writing it into a specified buffer, providing flexibility in
output style and format.
Required Methods§
Sourcefn extract_write<'buf, 'data>(
&self,
x: &InputExtract<'data>,
c: &mut Context<'buf>,
) -> Result
fn extract_write<'buf, 'data>( &self, x: &InputExtract<'data>, c: &mut Context<'buf>, ) -> Result
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".