pub trait FileDataUtils {
Show 13 methods
// Provided methods
fn display_file(
&self,
_start_index: Option<usize>,
_end_index: Option<usize>,
) -> Result<(), Box<dyn Error>> { ... }
fn delete_row(&mut self, _row_index: usize) -> Result<(), Box<dyn Error>> { ... }
fn delete_column(&mut self, _col_index: usize) -> Result<(), Box<dyn Error>> { ... }
fn delete_entry(
&mut self,
_row_index: usize,
_col_index: usize,
) -> Result<(), Box<dyn Error>> { ... }
fn modify_row(
&mut self,
_row_index: usize,
_new_row_data: String,
) -> Result<(), Box<dyn Error>> { ... }
fn modify_column(
&mut self,
_col_index: usize,
_new_data: String,
) -> Result<(), Box<dyn Error>> { ... }
fn update_entry(
&mut self,
_row_index: usize,
_col_index: usize,
_new_value: String,
) -> Result<(), Box<dyn Error>> { ... }
fn merge_files(&mut self, _other: &Self) -> Result<(), Box<dyn Error>> { ... }
fn sorted_display(&self) -> Result<(), Box<dyn Error>> { ... }
fn add_row(&mut self, _new_row_data: String) -> Result<(), Box<dyn Error>> { ... }
fn add_column(
&mut self,
_new_col_data: String,
) -> Result<(), Box<dyn Error>> { ... }
fn display_column(&self, _col_index: usize) -> Result<(), Box<dyn Error>> { ... }
fn display_row(&self, _row_index: usize) -> Result<(), Box<dyn Error>> { ... }
}Provided Methods§
fn display_file( &self, _start_index: Option<usize>, _end_index: Option<usize>, ) -> Result<(), Box<dyn Error>>
fn delete_row(&mut self, _row_index: usize) -> Result<(), Box<dyn Error>>
fn delete_column(&mut self, _col_index: usize) -> Result<(), Box<dyn Error>>
fn delete_entry( &mut self, _row_index: usize, _col_index: usize, ) -> Result<(), Box<dyn Error>>
fn modify_row( &mut self, _row_index: usize, _new_row_data: String, ) -> Result<(), Box<dyn Error>>
fn modify_column( &mut self, _col_index: usize, _new_data: String, ) -> Result<(), Box<dyn Error>>
fn update_entry( &mut self, _row_index: usize, _col_index: usize, _new_value: String, ) -> Result<(), Box<dyn Error>>
fn merge_files(&mut self, _other: &Self) -> Result<(), Box<dyn Error>>
fn sorted_display(&self) -> Result<(), Box<dyn Error>>
fn add_row(&mut self, _new_row_data: String) -> Result<(), Box<dyn Error>>
fn add_column(&mut self, _new_col_data: String) -> Result<(), Box<dyn Error>>
fn display_column(&self, _col_index: usize) -> Result<(), Box<dyn Error>>
fn display_row(&self, _row_index: usize) -> Result<(), Box<dyn Error>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.