pub struct TablePartStyle {
pub fill: Option<Fill>,
pub fill_ref: Option<(u32, ColorRef)>,
pub borders: [Option<TableBorder>; 6],
pub text_color: Option<ColorRef>,
pub bold: Option<bool>,
pub italic: Option<bool>,
}Expand description
One part of a table style. A theme reference (a:fillRef, a:lnRef) is kept as the theme’s
style index with its colour.
Fields§
§fill: Option<Fill>§fill_ref: Option<(u32, ColorRef)>§borders: [Option<TableBorder>; 6]Left, right, top, bottom, inside horizontal, inside vertical.
text_color: Option<ColorRef>§bold: Option<bool>§italic: Option<bool>Trait Implementations§
Source§impl Clone for TablePartStyle
impl Clone for TablePartStyle
Source§impl Debug for TablePartStyle
impl Debug for TablePartStyle
Source§impl Default for TablePartStyle
impl Default for TablePartStyle
Source§impl<'de> Deserialize<'de> for TablePartStylewhere
TablePartStyle: Default,
impl<'de> Deserialize<'de> for TablePartStylewhere
TablePartStyle: 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 TablePartStyle
impl PartialEq for TablePartStyle
Source§impl Serialize for TablePartStyle
impl Serialize for TablePartStyle
impl StructuralPartialEq for TablePartStyle
Auto Trait Implementations§
impl Freeze for TablePartStyle
impl RefUnwindSafe for TablePartStyle
impl Send for TablePartStyle
impl Sync for TablePartStyle
impl Unpin for TablePartStyle
impl UnsafeUnpin for TablePartStyle
impl UnwindSafe for TablePartStyle
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