pub struct FontStyle {
pub name: Option<String>,
pub size: Option<f64>,
pub bold: bool,
pub italic: bool,
pub underline: bool,
pub strikethrough: bool,
pub color: Option<StyleColor>,
}Expand description
Font style definition.
Fields§
§name: Option<String>Font name, e.g. “Calibri”, “Arial”.
size: Option<f64>Font size, e.g. 11.0.
bold: boolBold.
italic: boolItalic.
underline: boolUnderline.
strikethrough: boolStrikethrough.
color: Option<StyleColor>Font color.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FontStyle
impl RefUnwindSafe for FontStyle
impl Send for FontStyle
impl Sync for FontStyle
impl Unpin for FontStyle
impl UnwindSafe for FontStyle
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