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§
impl Eq for Format
Source§impl PartialOrd for Format
impl PartialOrd for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin 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