pub struct ResourceRefsWriter<'a, 'n: 'a> { /* private fields */ }
Expand description
Writer for a resource reference array.
Created by XmpWriter::ingredients
.
Implementations§
source§impl<'a, 'n: 'a> ResourceRefsWriter<'a, 'n>
impl<'a, 'n: 'a> ResourceRefsWriter<'a, 'n>
sourcepub fn add_ref(&mut self) -> ResourceRefWriter<'_, 'n>
pub fn add_ref(&mut self) -> ResourceRefWriter<'_, 'n>
Add a reference 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 ResourceRefsWriter<'a, 'n>
impl<'a, 'n> Deref for ResourceRefsWriter<'a, 'n>
Auto Trait Implementations§
impl<'a, 'n> Freeze for ResourceRefsWriter<'a, 'n>
impl<'a, 'n> RefUnwindSafe for ResourceRefsWriter<'a, 'n>
impl<'a, 'n> Send for ResourceRefsWriter<'a, 'n>
impl<'a, 'n> Sync for ResourceRefsWriter<'a, 'n>
impl<'a, 'n> Unpin for ResourceRefsWriter<'a, 'n>
impl<'a, 'n> !UnwindSafe for ResourceRefsWriter<'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