pub struct Dag<Chain> { /* private fields */ }Expand description
Final built DAG. Implements Handler<E>.
Created by DagChain::build. The entire DAG is monomorphized
at compile time — no boxing, no virtual dispatch, no arena.
Supports for<'a> Handler<&'a T> for zero-copy event dispatch.
For batch processing, see BatchDag.
Trait Implementations§
Auto Trait Implementations§
impl<Chain> Freeze for Dag<Chain>where
Chain: Freeze,
impl<Chain> RefUnwindSafe for Dag<Chain>where
Chain: RefUnwindSafe,
impl<Chain> Send for Dag<Chain>where
Chain: Send,
impl<Chain> Sync for Dag<Chain>where
Chain: Sync,
impl<Chain> Unpin for Dag<Chain>where
Chain: Unpin,
impl<Chain> UnsafeUnpin for Dag<Chain>where
Chain: UnsafeUnpin,
impl<Chain> UnwindSafe for Dag<Chain>where
Chain: UnwindSafe,
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