pub struct Emitter<'a, OutF>where
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> Freeze for Emitter<'a, OutF>
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> Unpin for Emitter<'a, OutF>
impl<'a, OutF> UnsafeUnpin for Emitter<'a, OutF>
impl<'a, OutF> !UnwindSafe for Emitter<'a, OutF>
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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