pub struct Format {
pub font: FormatFont,
pub border: FormatBorder,
pub fill: FormatFill,
pub align: FormatAlign,
}Fields§
§font: FormatFont§border: FormatBorder§fill: FormatFill§align: FormatAlignImplementations§
source§impl Format
impl Format
pub fn set_bold(self) -> Self
pub fn set_italic(self) -> Self
pub fn set_underline(self) -> Self
pub fn set_size(self, size: u8) -> Self
pub fn set_size_f64(self, size: f64) -> Self
pub fn set_color(self, format_color: FormatColor) -> Self
pub fn set_font(self, font_name: &str) -> Self
pub fn set_border(self, format_border_type: FormatBorderType) -> Self
pub fn set_border_left(self, format_border_type: FormatBorderType) -> Self
pub fn set_border_right(self, format_border_type: FormatBorderType) -> Self
pub fn set_border_top(self, format_border_type: FormatBorderType) -> Self
pub fn set_border_bottom(self, format_border_type: FormatBorderType) -> Self
pub fn set_background_color(self, format_color: FormatColor) -> Self
pub fn set_align(self, format_align_type: FormatAlignType) -> Self
pub fn set_reading_order(self, reading_order: u8) -> Self
pub fn set_indent(self, indent: u8) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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