pub struct CsvFile { /* private fields */ }
Expand description
CSV File
CSV file manupulation for Rust Lang.
Implementations§
Source§impl CsvFile
impl CsvFile
Sourcepub fn insert_head(&mut self, position: usize, name: &str)
pub fn insert_head(&mut self, position: usize, name: &str)
Insert Head
Insert new head.
Sourcepub fn delete_head(&mut self, position: usize) -> String
pub fn delete_head(&mut self, position: usize) -> String
Delete Head
Sourcepub fn set_col(&mut self, row: usize, col: usize, value: &str)
pub fn set_col(&mut self, row: usize, col: usize, value: &str)
Set Col
Set column to target position.
Sourcepub fn insert_col(&mut self, row: usize, position: usize, value: &str)
pub fn insert_col(&mut self, row: usize, position: usize, value: &str)
Insert Col
Insert new column.
Sourcepub fn delete_col(&mut self, position: usize)
pub fn delete_col(&mut self, position: usize)
Delete Col
Delete all columns.
Sourcepub fn insert_row(&mut self, position: usize, value: &[&str])
pub fn insert_row(&mut self, position: usize, value: &[&str])
Insert Row
Insert new row.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CsvFile
impl RefUnwindSafe for CsvFile
impl Send for CsvFile
impl Sync for CsvFile
impl Unpin for CsvFile
impl UnwindSafe for CsvFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more