Struct xlsxwriter::Format[][src]

pub struct Format<'a> { /* fields omitted */ }

This Format object has the functions and properties that are available for formatting cells in Excel.

The properties of a cell that can be formatted include: fonts, colors, patterns, borders, alignment and number formatting.

Implementations

impl<'a> Format<'a>[src]

pub fn set_font_name(self, font_name: &str) -> Self[src]

pub fn set_font_size(self, font_size: f64) -> Self[src]

pub fn set_font_color(self, font_color: FormatColor) -> Self[src]

pub fn set_bold(self) -> Self[src]

pub fn set_italic(self) -> Self[src]

pub fn set_underline(self, underline: FormatUnderline) -> Self[src]

pub fn set_font_strikeout(self) -> Self[src]

pub fn set_font_script(self, script: FormatScript) -> Self[src]

pub fn set_num_format(self, num_font: &str) -> Self[src]

pub fn set_font_unlocked(self) -> Self[src]

pub fn set_font_hidden(self) -> Self[src]

pub fn set_align(self, align: FormatAlignment) -> Self[src]

pub fn set_text_wrap(self) -> Self[src]

pub fn set_rotation(self, angle: i16) -> Self[src]

pub fn set_indent(self, level: u8) -> Self[src]

pub fn set_shrink(self) -> Self[src]

pub fn set_pattern(self, pattern: FormatPatterns) -> Self[src]

pub fn set_bg_color(self, color: FormatColor) -> Self[src]

pub fn set_fg_color(self, color: FormatColor) -> Self[src]

pub fn set_border(self, border: FormatBorder) -> Self[src]

pub fn set_border_bottom(self, border: FormatBorder) -> Self[src]

pub fn set_border_top(self, border: FormatBorder) -> Self[src]

pub fn set_border_left(self, border: FormatBorder) -> Self[src]

pub fn set_border_right(self, border: FormatBorder) -> Self[src]

pub fn set_border_color(self, color: FormatColor) -> Self[src]

pub fn set_border_bottom_color(self, color: FormatColor) -> Self[src]

pub fn set_border_top_color(self, color: FormatColor) -> Self[src]

pub fn set_border_left_color(self, color: FormatColor) -> Self[src]

pub fn set_border_right_color(self, color: FormatColor) -> Self[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Format<'a>

impl<'a> !Send for Format<'a>

impl<'a> !Sync for Format<'a>

impl<'a> Unpin for Format<'a>

impl<'a> !UnwindSafe for Format<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.