Struct docx_rust::formatting::Fonts
source · [−]pub struct Fonts<'a> {
pub hint: Option<FontHint>,
pub ascii: Option<Cow<'a, str>>,
pub east_asia: Option<Cow<'a, str>>,
pub h_ansi: Option<Cow<'a, str>>,
pub custom: Option<Cow<'a, str>>,
pub ascii_theme: Option<Cow<'a, str>>,
pub east_asia_theme: Option<Cow<'a, str>>,
pub h_ansi_theme: Option<Cow<'a, str>>,
pub cs_theme: Option<Cow<'a, str>>,
}
Expand description
Size
use docx::formatting::*;
let sz = Size::from(42usize);
Fields
hint: Option<FontHint>
ascii: Option<Cow<'a, str>>
east_asia: Option<Cow<'a, str>>
h_ansi: Option<Cow<'a, str>>
custom: Option<Cow<'a, str>>
ascii_theme: Option<Cow<'a, str>>
east_asia_theme: Option<Cow<'a, str>>
h_ansi_theme: Option<Cow<'a, str>>
cs_theme: Option<Cow<'a, str>>
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Fonts<'a>
impl<'a> Send for Fonts<'a>
impl<'a> Sync for Fonts<'a>
impl<'a> Unpin for Fonts<'a>
impl<'a> UnwindSafe for Fonts<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more