pub struct SheetStyle {
pub cells: CellStyle,
pub header: CellStyle,
pub totals: CellStyle,
pub banded_rows: Option<Band>,
pub borders: Option<Border>,
}Expand description
How a sheet looks: its data cells, the header and totals rows, banding and borders.
Fields§
§cells: CellStyle§header: CellStyle§totals: CellStyle§banded_rows: Option<Band>The fill of every other data row, or Off (over an inherited banding).
borders: Option<Border>Implementations§
Source§impl SheetStyle
impl SheetStyle
Sourcepub fn merged(&self, over: &SheetStyle) -> SheetStyle
pub fn merged(&self, over: &SheetStyle) -> SheetStyle
self (the output’s) with the tab’s style over it.
Trait Implementations§
Source§impl Clone for SheetStyle
impl Clone for SheetStyle
Source§impl Debug for SheetStyle
impl Debug for SheetStyle
Source§impl Default for SheetStyle
impl Default for SheetStyle
Source§impl<'de> Deserialize<'de> for SheetStylewhere
SheetStyle: Default,
impl<'de> Deserialize<'de> for SheetStylewhere
SheetStyle: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SheetStyle
impl PartialEq for SheetStyle
Source§impl Serialize for SheetStyle
impl Serialize for SheetStyle
impl StructuralPartialEq for SheetStyle
Auto Trait Implementations§
impl Freeze for SheetStyle
impl RefUnwindSafe for SheetStyle
impl Send for SheetStyle
impl Sync for SheetStyle
impl Unpin for SheetStyle
impl UnsafeUnpin for SheetStyle
impl UnwindSafe for SheetStyle
Blanket Implementations§
impl<T> Allocation for T
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