pub struct EventMerger<'a> { /* private fields */ }Expand description
Fluent API builder for merging events
Implementations§
Source§impl<'a> EventMerger<'a>
impl<'a> EventMerger<'a>
Sourcepub fn with_separator(self, separator: &str) -> Self
pub fn with_separator(self, separator: &str) -> Self
Set the text separator for merged text
Sourcepub fn apply(self) -> Result<&'a mut EditorDocument>
pub fn apply(self) -> Result<&'a mut EditorDocument>
Execute the merge
Auto Trait Implementations§
impl<'a> Freeze for EventMerger<'a>
impl<'a> !RefUnwindSafe for EventMerger<'a>
impl<'a> Send for EventMerger<'a>
impl<'a> !Sync for EventMerger<'a>
impl<'a> Unpin for EventMerger<'a>
impl<'a> !UnwindSafe for EventMerger<'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