pub trait TableOutput: PineOutput {
// Required methods
fn add_table(&mut self, table: Table) -> usize;
fn get_table(&self, id: usize) -> Option<&Table>;
fn get_table_mut(&mut self, id: usize) -> Option<&mut Table>;
fn delete_table(&mut self, id: usize) -> bool;
}Expand description
Extension trait for table output
Required Methods§
Sourcefn get_table_mut(&mut self, id: usize) -> Option<&mut Table>
fn get_table_mut(&mut self, id: usize) -> Option<&mut Table>
Get a mutable reference to a table by ID
Sourcefn delete_table(&mut self, id: usize) -> bool
fn delete_table(&mut self, id: usize) -> bool
Delete a table by ID and return true if it existed
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".