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