Struct umya_spreadsheet::structs::Spreadsheet[][src]

pub struct Spreadsheet { /* fields omitted */ }

Implementations

Insert new rows.

Arguments

  • sheet_name - Specify the sheet name. ex) “Sheet1”
  • row_index - Specify point of insert. ex) 1
  • num_rows - Specify number to insert. ex) 2

Examples

let mut book = umya_spreadsheet::new_file();
book.insert_new_row("Sheet1", 2, 3);

Insert new colmuns.

Arguments

  • sheet_name - Specify the sheet name. ex) “Sheet1”
  • column - Specify point of insert. ex) “B”
  • num_columns - Specify number to insert. ex) 3

Examples

let mut book = umya_spreadsheet::new_file();
book.insert_new_colmun("Sheet1", "B", 3);

Insert new colmuns.

Arguments

  • sheet_name - Specify the sheet name. ex) “Sheet1”
  • column_index - Specify point of insert. ex) 2
  • num_columns - Specify number to insert. ex) 3

Examples

let mut book = umya_spreadsheet::new_file();
book.insert_new_colmun_by_index("Sheet1", 2, 3);

Remove rows.

Arguments

  • sheet_name - Specify the sheet name. ex) “Sheet1”
  • row_index - Specify point of remove. ex) 1
  • num_rows - Specify number to remove. ex) 2

Examples

let mut book = umya_spreadsheet::new_file();
book.remove_row("Sheet1", 2, 3);

Remove colmuns.

Arguments

  • sheet_name - Specify the sheet name. ex) “Sheet1”
  • column - Specify point of remove. ex) “B”
  • num_columns - Specify number to remove. ex) 3

Examples

let mut book = umya_spreadsheet::new_file();
book.remove_colmun("Sheet1", "B", 3);

Remove colmuns.

Arguments

  • sheet_name - Specify the sheet name. ex) “Sheet1”
  • column_index - Specify point of remove. ex) 2
  • num_columns - Specify number to remove. ex) 3

Examples

let mut book = umya_spreadsheet::new_file();
book.remove_colmun_by_index("Sheet1", 2, 3);

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.