CellsMut
개요
CellsMut은(는) Rust용 Aspose.Cells FOSS의 구조체입니다.
워크시트 셀, 행, 열 및 병합된 범위에 대한 접근을 제공합니다.
이 구조체는 Rust 프로그램에서 CellsMut 객체를 위해 20개의 메서드를 선언합니다. 사용 가능한 메서드에는 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 및 추가 8개의 메서드가 포함됩니다. 공용 멤버는 Aspose.Cells FOSS for Rust 패키지를 설치한 후 모든 Rust 애플리케이션에서 접근할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
get(address: &str) → Result<CellMut<'_>, CellsError> | 컬렉션에서 항목을 가져옵니다. |
get_or_cells_exception(address: &str) → Result<CellMut<'_>, CellsException> | 연관된 값을 가져옵니다. |
item(address: &str) → Result<CellMut<'_>, CellsError> | 컬렉션에서 항목을 가져옵니다. |
get_by_index(row: u32, column: u32) → CellMut<'_> | 연관된 값을 가져옵니다. |
item_by_index(row: u32, column: u32) → CellMut<'_> | 컬렉션에서 항목을 가져옵니다. |
rows() → RowsMut<'_> | 워크시트에 대한 행 수준 설정을 가져옵니다. |
get_rows() → RowsMut<'_> | 워크시트에 대한 행 수준 설정을 가져옵니다. |
columns() → ColumnsMut<'_> | 워크시트에 대한 열 수준 설정을 가져옵니다. |
get_columns() → ColumnsMut<'_> | 워크시트에 대한 열 수준 설정을 가져옵니다. |
style() → Style | 워크시트 셀 범위의 기본 스타일을 가져옵니다. |
get_style() → Style | 워크시트 셀 범위의 기본 스타일을 가져옵니다. |
set_style(value: Style) → Result<(), CellsError> | 워크시트 셀 범위의 기본 스타일을 설정합니다. |
merged_cells() → Vec<CellArea> | 워크시트 순서대로 현재 병합된 셀 영역을 가져옵니다. |
get_merged_cells() → Vec<CellArea> | 워크시트 순서에 따라 현재 병합된 셀 영역을 가져옵니다. |
merge(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError> | 0부터 시작하는 좌표를 사용하여 직사각형 셀 영역을 병합합니다. |
merge_or_cells_exception(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsException> | 지정된 범위를 병합하고 실패를 CellsException에 래핑합니다. |
check_cell(address: &str) → Result<bool, CellsError> | 지정된 A1 스타일 셀이 현재 존재하는지 여부를 반환합니다. |
check_cell_or_cells_exception(address: &str) → Result<bool, CellsException> | 지정된 A1 스타일 셀이 현재 존재하는지 여부를 반환하며, 실패를 CellsException에 래핑합니다. |
count() → usize | 항목 수를 가져옵니다. |
get_count() → usize | 항목 수를 가져옵니다. |