pub struct CellProperties {
pub background: Option<Color>,
pub vertical_align: Option<VerticalAlign>,
pub border: Edges<Border>,
pub padding: Edges<Length>,
pub wrap: Option<bool>,
}Expand description
Cell formatting, which a spreadsheet reads for every visible cell.
Fields§
§background: Option<Color>Fill.
vertical_align: Option<VerticalAlign>Vertical placement of the text in the cell.
border: Edges<Border>Borders, per edge.
padding: Edges<Length>Space between the border and the text, per edge.
wrap: Option<bool>Whether a line too long for the cell wraps rather than overflowing.
Trait Implementations§
Source§impl Clone for CellProperties
impl Clone for CellProperties
Source§impl Debug for CellProperties
impl Debug for CellProperties
Source§impl Default for CellProperties
impl Default for CellProperties
Source§impl PartialEq for CellProperties
impl PartialEq for CellProperties
impl StructuralPartialEq for CellProperties
Auto Trait Implementations§
impl Freeze for CellProperties
impl RefUnwindSafe for CellProperties
impl Send for CellProperties
impl Sync for CellProperties
impl Unpin for CellProperties
impl UnsafeUnpin for CellProperties
impl UnwindSafe for CellProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more