Struct xlsxwriter::format::Format
source · pub struct Format { /* private fields */ }
Implementations§
source§impl Format
impl Format
pub fn new() -> Self
pub fn set_font_name(&mut self, font_name: &str) -> &mut Self
pub fn set_font_size(&mut self, font_size: f64) -> &mut Self
pub fn set_font_color(&mut self, font_color: FormatColor) -> &mut Self
pub fn set_bold(&mut self) -> &mut Self
pub fn set_italic(&mut self) -> &mut Self
pub fn set_underline(&mut self, underline: FormatUnderline) -> &mut Self
pub fn set_font_strikeout(&mut self) -> &mut Self
pub fn set_font_script(&mut self, script: FormatScript) -> &mut Self
pub fn set_num_format(&mut self, num_format: &str) -> &mut Self
pub fn set_unlocked(&mut self) -> &mut Self
pub fn set_align(&mut self, align: FormatAlignment) -> &mut Self
pub fn set_vertical_align( &mut self, align: FormatVerticalAlignment ) -> &mut Self
pub fn set_text_wrap(&mut self) -> &mut Self
pub fn set_rotation(&mut self, angle: i16) -> &mut Self
pub fn set_indent(&mut self, level: u8) -> &mut Self
pub fn set_shrink(&mut self) -> &mut Self
pub fn set_pattern(&mut self, pattern: FormatPatterns) -> &mut Self
pub fn set_bg_color(&mut self, color: FormatColor) -> &mut Self
pub fn set_fg_color(&mut self, color: FormatColor) -> &mut Self
pub fn set_border(&mut self, border: FormatBorder) -> &mut Self
pub fn set_border_bottom(&mut self, border: FormatBorder) -> &mut Self
pub fn set_border_top(&mut self, border: FormatBorder) -> &mut Self
pub fn set_border_left(&mut self, border: FormatBorder) -> &mut Self
pub fn set_border_right(&mut self, border: FormatBorder) -> &mut Self
pub fn set_border_color(&mut self, color: FormatColor) -> &mut Self
pub fn set_border_bottom_color(&mut self, color: FormatColor) -> &mut Self
pub fn set_border_top_color(&mut self, color: FormatColor) -> &mut Self
pub fn set_border_left_color(&mut self, color: FormatColor) -> &mut Self
pub fn set_border_right_color(&mut self, color: FormatColor) -> &mut Self
Trait Implementations§
source§impl PartialEq<Format> for Format
impl PartialEq<Format> for Format
source§impl PartialOrd<Format> for Format
impl PartialOrd<Format> for Format
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more