Skip to main content

OwnedTableRows

Trait OwnedTableRows 

Source
pub trait OwnedTableRows {
    // Required method
    fn extend_owned_rows(&mut self, rows: Vec<Vec<String>>) -> &mut Self;
}
Expand description

Transfer already-owned table rows without cloning every cell string.

This extension point changes ownership only. Column definitions, measurement and rendering follow the table’s existing rules, including missing/extra cells. Producers that parse into owned strings can release their row collection as they populate a table instead of retaining a second complete copy.

Required Methods§

Source

fn extend_owned_rows(&mut self, rows: Vec<Vec<String>>) -> &mut Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§