pub struct FontsWriter<'a, 'n: 'a> { /* private fields */ }
Expand description
Writer for an array of fonts.
Created by XmpWriter::fonts
.
Implementations§
source§impl<'a, 'n: 'a> FontsWriter<'a, 'n>
impl<'a, 'n: 'a> FontsWriter<'a, 'n>
sourcepub fn add_font(&mut self) -> FontWriter<'_, 'n>
pub fn add_font(&mut self) -> FontWriter<'_, 'n>
Add a new font to the array.
Methods from Deref<Target = Array<'a, 'n>>§
sourcepub fn element_with_attrs(
&mut self,
attrs: impl IntoIterator<Item = (&'a str, &'a str)>,
) -> Element<'_, 'n>
pub fn element_with_attrs( &mut self, attrs: impl IntoIterator<Item = (&'a str, &'a str)>, ) -> Element<'_, 'n>
Start writing an element with attributes in the array.
Trait Implementations§
source§impl<'a, 'n> Deref for FontsWriter<'a, 'n>
impl<'a, 'n> Deref for FontsWriter<'a, 'n>
Auto Trait Implementations§
impl<'a, 'n> Freeze for FontsWriter<'a, 'n>
impl<'a, 'n> RefUnwindSafe for FontsWriter<'a, 'n>
impl<'a, 'n> Send for FontsWriter<'a, 'n>
impl<'a, 'n> Sync for FontsWriter<'a, 'n>
impl<'a, 'n> Unpin for FontsWriter<'a, 'n>
impl<'a, 'n> !UnwindSafe for FontsWriter<'a, 'n>
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