Border
Overview
Border is a struct in Aspose.Cells FOSS for Rust.
Inherits from: Debug, Clone, PartialEq, and 3 more.
Represents border.
This struct provides 10 methods for working with Border objects in Rust programs.
Available methods include: clear_color, copy_from, get_color, get_line_style, get_line_style_type, line_style_type, new, set_color, set_line_style, set_line_style_type.
All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.
Fields: color, line_style.
Fields
| Name | Type | Access | Description |
|---|---|---|---|
line_style | BorderLineStyle | Read/Write | Gets the line style. |
color | Option<String> | Read/Write | Gets the color. |
Methods
| Signature | Description |
|---|---|
new() → Self | Initializes a new instance. |
line_style_type() → BorderStyleType | Gets the associated value. |
get_line_style_type() → BorderStyleType | Gets the associated value. |
get_line_style() → BorderLineStyle | Gets the line style. |
set_line_style_type(value: BorderStyleType) | Sets the associated value. |
set_line_style(value: BorderLineStyle) | Sets the line style. |
get_color() → Option<&str> | Gets the color. |
set_color(value: impl Into<String>) | Sets the color. |
clear_color() | Clears color. |
copy_from(source: &Border) | Copies border values from another border instance. |