CellMut
Overview
CellMut is a struct in Aspose.Cells FOSS for Rust.
Represents a single worksheet cell and exposes value, formula, and style operations.
This struct provides 88 methods for working with CellMut objects in Rust programs.
Available methods include: apply_bold, apply_border_color, apply_border_line_style, apply_fill, apply_fill_color, apply_font, apply_horizontal_alignment, apply_italic, apply_number_format, apply_text_wrap, apply_vertical_alignment, bool_value, and 76 additional methods.
All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.
Methods
| Signature | Description |
|---|---|
name() → String | Gets the associated value. |
get_name() → String | Gets the associated value. |
row() → u32 | Gets the associated value. |
get_row() → u32 | Gets the associated value. |
column() → u32 | Gets the associated value. |
get_column() → u32 | Gets the associated value. |
value() → Option<&CellValue> | Gets the logical cell value. |
get_value() → Option<&CellValue> | Gets the logical cell value. |
value_type() → CellValueType | Gets the current logical cell value type. |
get_type() → CellValueType | Gets the current logical cell value type. |
int_value() → Option<i32> | Gets the associated value. |
get_int_value() → Option<i32> | Gets the associated value. |
long_value() → Option<i64> | Gets the associated value. |
get_long_value() → Option<i64> | Gets the associated value. |
double_value() → Option<f64> | Gets the associated value. |
get_double_value() → Option<f64> | Gets the associated value. |
bool_value() → Option<bool> | Gets the associated value. |
get_bool_value() → Option<bool> | Gets the associated value. |
date_time_value() → Option<DateTime<Utc>> | Gets the associated value. |
get_date_time_value() → Option<DateTime<Utc>> | Gets the associated value. |
string_value() → Option<&str> | Gets a stable string representation of the cell value without applying style-based display formatting. |
get_string_value() → Option<&str> | Gets a stable string representation of the cell value without applying style-based display formatting. |
raw_string_value() → String | Gets the associated value. |
get_raw_string_value() → String | Gets the associated value. |
display_string_value() → String | Gets the display text generated from the cell value, style, and workbook culture. |
get_display_string_value() → String | Gets the display text generated from the cell value, style, and workbook culture. |
formatted_string_value() → String | Gets the associated value. |
get_formatted_string_value() → String | Gets the associated value. |
style() → Style | Gets the associated value. |
get_style() → Style | Gets the associated value. |
get_style_with_borders(_check_borders: bool) → Style | Gets the associated value. |
border() → Option<&Border> | Gets the associated value. |
get_border() → Option<&Border> | Gets the associated value. |
formula_cached_value() → Option<&CellValue> | Gets the associated value. |
get_formula_cached_value() → Option<&CellValue> | Gets the associated value. |
put_value(value: CellValue) → Result<(), CellsError> | Sets value. |
put_value_object(value: impl Into<CellObjectValue>) → Result<(), CellsError> | Sets value object. |
put_number(value: f64) → Result<(), CellsError> | Sets number. |
put_bool(value: bool) → Result<(), CellsError> | Sets bool. |
put_string(value: impl Into<String>) → Result<(), CellsError> | Sets string. |
put_value_string(value: impl Into<String>) → Result<(), CellsError> | Sets value string. |
put_value_i32(value: i32) → Result<(), CellsError> | Sets value i32. |
put_value_u8(value: u8) → Result<(), CellsError> | Sets value u8. |
put_value_i16(value: i16) → Result<(), CellsError> | Sets value i16. |
put_value_i64(value: i64) → Result<(), CellsError> | Sets value i64. |
put_value_f32(value: f32) → Result<(), CellsError> | Sets value f32. |
put_value_f64(value: f64) → Result<(), CellsError> | Sets value f64. |
put_value_decimal(value: f64) → Result<(), CellsError> | Sets value decimal. |
put_value_bool(value: bool) → Result<(), CellsError> | Sets value bool. |
put_value_char(value: char) → Result<(), CellsError> | Sets value char. |
put_date_time(value: DateTime<Utc>) → Result<(), CellsError> | Sets date time. |
put_value_date_time(value: DateTime<Utc>) → Result<(), CellsError> | Sets value date time. |
put_datetime(value: DateTime<Utc>) → Result<(), CellsError> | Sets datetime. |
put_formula(value: impl Into<String>) → Result<(), CellsError> | Sets formula. |
put_value_string_converted(value: impl Into<String>, is_converted: bool) → Result<(), CellsError> | Sets value string converted. |
put_value_string_converted_with_style(value: impl Into<String>, is_converted: bool, _set_style: bool) → Result<(), CellsError> | Sets value string converted with style. |
put_formula_with_cached_value(formula: impl Into<String>, cached_value: CellValue) → Result<(), CellsError> | Sets formula with cached value. |
set_style(style: CellStyle) → Result<(), CellsError> | Sets the associated value. |
set_style_with_explicit_flag(style: CellStyle, _explicit_flag: bool) → Result<(), CellsError> | Sets the associated value. |
set_style_with_flag(style: CellStyle, flag: StyleFlag) → Result<(), CellsError> | Sets the associated value. |
set_border(border: Border) → Result<(), CellsError> | Sets the associated value. |
apply_border_line_style(value: BorderLineStyle) → Result<(), CellsError> | Applies border line style. |
apply_border_color(value: impl Into<String>) → Result<(), CellsError> | Applies border color. |
clear_border() → Result<(), CellsError> | Clears border. |
clear_style() → Result<(), CellsError> | Clears style. |
reset_style() → Result<(), CellsError> | Resets the cell style to the workbook default style. |
apply_font(font: Font) → Result<(), CellsError> | Applies font. |
apply_fill(fill: Fill) → Result<(), CellsError> | Applies fill. |
apply_fill_color(value: impl Into<String>) → Result<(), CellsError> | Applies fill color. |
clear_fill_color() → Result<(), CellsError> | Clears fill color. |
clear_fill() → Result<(), CellsError> | Clears fill. |
apply_bold(value: bool) → Result<(), CellsError> | Applies bold. |
apply_italic(value: bool) → Result<(), CellsError> | Applies italic. |
clear_bold() → Result<(), CellsError> | Clears bold. |
clear_italic() → Result<(), CellsError> | Clears italic. |
clear_font() → Result<(), CellsError> | Clears font. |
apply_number_format(value: impl Into<String>) → Result<(), CellsError> | Applies number format. |
clear_number_format() → Result<(), CellsError> | Clears number format. |
apply_horizontal_alignment(value: HorizontalAlignment) → Result<(), CellsError> | Applies horizontal alignment. |
clear_horizontal_alignment() → Result<(), CellsError> | Clears horizontal alignment. |
apply_vertical_alignment(value: VerticalAlignment) → Result<(), CellsError> | Applies vertical alignment. |
clear_vertical_alignment() → Result<(), CellsError> | Clears vertical alignment. |
clear_alignment() → Result<(), CellsError> | Clears alignment. |
apply_text_wrap(value: bool) → Result<(), CellsError> | Applies text wrap. |
clear_text_wrap() → Result<(), CellsError> | Clears text wrap. |
update_style(updater: impl FnOnce(&mut CellStyle)) → Result<(), CellsError> | Updates the cell style in place using the provided callback. |
set_value(value: CellValue) → Result<(), CellsError> | Sets the logical cell value. |
clear_value() → Result<(), CellsError> | Clears value. |