Borders

Overview

Borders is a struct in Aspose.Cells FOSS for Rust. Inherits from: Debug, Clone, PartialEq, and 3 more.

Represents borders.

This struct provides 28 methods for working with Borders objects in Rust programs. Available methods include: bottom, bottom_mut, copy_from, diagonal, diagonal_down, diagonal_mut, diagonal_up, get_bottom, get_bottom_mut, get_diagonal, get_diagonal_down, get_diagonal_mut, and 16 additional methods. All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package. Fields: bottom, diagonal, diagonal_down, diagonal_up, left, right, and 1 more.

Fields

NameTypeAccessDescription
leftBorderRead/WriteGets the left.
rightBorderRead/WriteGets the right.
topBorderRead/WriteGets the top.
bottomBorderRead/WriteGets the bottom.
diagonalBorderRead/WriteGets the diagonal.
diagonal_upboolRead/WriteGets the diagonal up.
diagonal_downboolRead/WriteGets the diagonal down.

Methods

SignatureDescription
new()SelfInitializes a new instance.
left()&BorderGets the left border settings.
get_left()&BorderGets the left border settings.
left_mut()&mut BorderGets the associated value.
get_left_mut()&mut BorderGets the associated value.
right()&BorderGets the right border settings.
get_right()&BorderGets the right border settings.
right_mut()&mut BorderGets the associated value.
get_right_mut()&mut BorderGets the associated value.
top()&BorderGets the top border settings.
get_top()&BorderGets the top border settings.
top_mut()&mut BorderGets the associated value.
get_top_mut()&mut BorderGets the associated value.
bottom()&BorderGets the bottom border settings.
get_bottom()&BorderGets the bottom border settings.
bottom_mut()&mut BorderGets the associated value.
get_bottom_mut()&mut BorderGets the associated value.
diagonal()&BorderGets the diagonal border settings.
get_diagonal()&BorderGets the diagonal border settings.
diagonal_mut()&mut BorderGets the associated value.
get_diagonal_mut()&mut BorderGets the associated value.
diagonal_up()boolGets a value indicating whether diagonal up.
get_diagonal_up()boolGets a value indicating whether diagonal up.
set_diagonal_up(value: bool)Sets a value indicating whether diagonal up.
diagonal_down()boolGets a value indicating whether diagonal down.
get_diagonal_down()boolGets a value indicating whether diagonal down.
set_diagonal_down(value: bool)Sets a value indicating whether diagonal down.
copy_from(source: &Borders)Copies all border sides from another borders collection.

See Also