Struct docx_rust::formatting::Fonts
source · pub struct Fonts {
pub hint: Option<FontHint>,
pub ascii: Option<String>,
pub east_asia: Option<String>,
pub h_ansi: Option<String>,
pub custom: Option<String>,
pub ascii_theme: Option<ThemeFont>,
pub east_asia_theme: Option<ThemeFont>,
pub h_ansi_theme: Option<ThemeFont>,
pub custom_theme: Option<String>,
}
Fields§
§hint: Option<FontHint>
§ascii: Option<String>
§east_asia: Option<String>
§h_ansi: Option<String>
§custom: Option<String>
§ascii_theme: Option<ThemeFont>
§east_asia_theme: Option<ThemeFont>
§h_ansi_theme: Option<ThemeFont>
§custom_theme: Option<String>
Implementations§
source§impl Fonts
impl Fonts
pub fn hint<T: Into<FontHint>>(self, value: T) -> Self
pub fn ascii<T: Into<String>>(self, value: T) -> Self
pub fn east_asia<T: Into<String>>(self, value: T) -> Self
pub fn h_ansi<T: Into<String>>(self, value: T) -> Self
pub fn custom<T: Into<String>>(self, value: T) -> Self
pub fn ascii_theme<T: Into<ThemeFont>>(self, value: T) -> Self
pub fn east_asia_theme<T: Into<ThemeFont>>(self, value: T) -> Self
pub fn h_ansi_theme<T: Into<ThemeFont>>(self, value: T) -> Self
pub fn custom_theme<T: Into<String>>(self, value: T) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Fonts
impl Send for Fonts
impl Sync for Fonts
impl Unpin for Fonts
impl UnwindSafe for Fonts
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