Worksheets

Overview

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

Encapsulates the workbook’s worksheets and active-sheet state.

This struct provides 12 methods for working with Worksheets objects in Rust programs. Available methods include: active_sheet_index, active_sheet_name, count, get, get_active_sheet_index, get_active_sheet_name, get_by_name, get_count, is_empty, item, item_by_name, len. All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.

Methods

SignatureDescription
count()usizeGets the number of items.
get_count()usizeGets the number of items.
get(index: usize)Result<&Worksheet, CellsError>Gets the item from the collection.
item(index: usize)Result<&Worksheet, CellsError>Gets the item from the collection.
get_by_name(name: &str)Result<&Worksheet, CellsError>Gets the associated value.
item_by_name(name: &str)Result<&Worksheet, CellsError>Gets the item from the collection.
active_sheet_index()usizeGets the zero-based index of the active worksheet.
get_active_sheet_index()usizeGets the zero-based index of the active worksheet.
active_sheet_name()StringGets the name of the active worksheet.
get_active_sheet_name()StringGets the name of the active worksheet.
len()usizeGets the number of items in the collection.
is_empty()boolReturns whether the collection is empty.

See Also