pub struct DynThinker<Ctx, Out>(/* private fields */);Expand description
A concrete wrapper that implements Thinker via type-erased dispatch.
Allows heterogeneous chains of different concrete Thinker types.
Implementations§
Trait Implementations§
Source§impl<Ctx, Out> Thinker for DynThinker<Ctx, Out>where
Ctx: Sync,
impl<Ctx, Out> Thinker for DynThinker<Ctx, Out>where
Ctx: Sync,
Auto Trait Implementations§
impl<Ctx, Out> !RefUnwindSafe for DynThinker<Ctx, Out>
impl<Ctx, Out> !UnwindSafe for DynThinker<Ctx, Out>
impl<Ctx, Out> Freeze for DynThinker<Ctx, Out>
impl<Ctx, Out> Send for DynThinker<Ctx, Out>
impl<Ctx, Out> Sync for DynThinker<Ctx, Out>
impl<Ctx, Out> Unpin for DynThinker<Ctx, Out>
impl<Ctx, Out> UnsafeUnpin for DynThinker<Ctx, Out>
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