pub struct Emitter<'a, OutF: RecFamily> { /* private fields */ }Expand description
Stack-borrowed emitter handed to flat_map closures. Parameterized by
the output family (a 'static tag), so user closures never name the
concrete downstream stack type or the buffer lifetime. Each emit is
one virtual call, confined to flat_map stages.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, OutF> !RefUnwindSafe for Emitter<'a, OutF>
impl<'a, OutF> !Send for Emitter<'a, OutF>
impl<'a, OutF> !Sync for Emitter<'a, OutF>
impl<'a, OutF> !UnwindSafe for Emitter<'a, OutF>
impl<'a, OutF> Freeze for Emitter<'a, OutF>where
&'a mut dyn CollectorFor<OutF>: Freeze,
impl<'a, OutF> Unpin for Emitter<'a, OutF>where
&'a mut dyn CollectorFor<OutF>: Unpin,
impl<'a, OutF> UnsafeUnpin for Emitter<'a, OutF>where
&'a mut dyn CollectorFor<OutF>: UnsafeUnpin,
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