pub struct FontTable<'a> {
pub fonts: Vec<Font<'a>>,
}
Expand description
Font Table
use docx_rust::font_table::*;
let fonts = FontTable::default()
.push_font("Arial")
.push_font(Font::new("Helvetica").family("swiss"));
Fields§
§fonts: Vec<Font<'a>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FontTable<'a>
impl<'a> RefUnwindSafe for FontTable<'a>
impl<'a> Send for FontTable<'a>
impl<'a> Sync for FontTable<'a>
impl<'a> Unpin for FontTable<'a>
impl<'a> UnwindSafe for FontTable<'a>
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