CellsMut

Overview

CellsMut is a struct in Aspose.Cells FOSS for Rust.

Provides access to worksheet cells, rows, columns, and merged ranges.

This struct declares 20 methods for CellsMut objects in Rust programs. Available methods include: check_cell, check_cell_or_cells_exception, columns, count, get, get_by_index, get_columns, get_count, get_merged_cells, get_or_cells_exception, get_rows, get_style, and 8 additional methods. Public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.

Methods

SignatureDescription
get(address: &str) → Result<CellMut<'_>, CellsError>Gets the item from the collection.
get_or_cells_exception(address: &str) → Result<CellMut<'_>, CellsException>Gets the associated value.
item(address: &str) → Result<CellMut<'_>, CellsError>Gets the item from the collection.
get_by_index(row: u32, column: u32) → CellMut<'_>Gets the associated value.
item_by_index(row: u32, column: u32) → CellMut<'_>Gets the item from the collection.
rows() → RowsMut<'_>Gets row-level settings for the worksheet.
get_rows() → RowsMut<'_>Gets row-level settings for the worksheet.
columns() → ColumnsMut<'_>Gets column-level settings for the worksheet.
get_columns() → ColumnsMut<'_>Gets column-level settings for the worksheet.
style() → StyleGets the default style of the worksheet cells scope.
get_style() → StyleGets the default style of the worksheet cells scope.
set_style(value: Style) → Result<(), CellsError>Sets the default style of the worksheet cells scope.
merged_cells() → Vec<CellArea>Gets the current merged-cell regions in worksheet order.
get_merged_cells() → Vec<CellArea>Gets the current merged-cell regions in worksheet order.
merge(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError>Merges a rectangular cell region using zero-based coordinates.
merge_or_cells_exception(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsException>Merges the specified range and wraps failures in CellsException.
check_cell(address: &str) → Result<bool, CellsError>Returns whether the specified A1-style cell currently exists.
check_cell_or_cells_exception(address: &str) → Result<bool, CellsException>Returns whether the specified A1-style cell currently exists, wrapping failures in CellsException.
count() → usizeGets the number of items.
get_count() → usizeGets the number of items.

See Also

 English