pub struct CursorInterleaveSink<'a, S> { /* private fields */ }
Expand description
This is a CursorSink that wraps a Sink (impl CursorSink
) and a slice of Cursors to interleave. On each
CursorSink::append() call, will append to the delegate sink, while also interleaving any of the Cursors from the
slice of Cursors, in the right places.
This is useful as way to interleave ancilliary cursors, for example trivia.
Implementations§
Source§impl<'a, S: CursorSink> CursorInterleaveSink<'a, S>
impl<'a, S: CursorSink> CursorInterleaveSink<'a, S>
Trait Implementations§
Source§impl<'a, S: CursorSink> CursorSink for CursorInterleaveSink<'a, S>
impl<'a, S: CursorSink> CursorSink for CursorInterleaveSink<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for CursorInterleaveSink<'a, S>
impl<'a, S> !RefUnwindSafe for CursorInterleaveSink<'a, S>
impl<'a, S> !Send for CursorInterleaveSink<'a, S>
impl<'a, S> !Sync for CursorInterleaveSink<'a, S>
impl<'a, S> Unpin for CursorInterleaveSink<'a, S>
impl<'a, S> !UnwindSafe for CursorInterleaveSink<'a, S>
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