wars_rt::func

Type Alias Df

Source
pub type Df<A, B, C> = Arc<dyn for<'a> Fn(&'a mut C, A) -> BorrowRec<'a, Result<B>> + Send + Sync + 'static>;

Aliased Type§

struct Df<A, B, C> { /* private fields */ }

Trait Implementations§

Source§

impl<C: CtxSpec + 'static, A: CoeVec<C> + 'static, B: CoeVec<C> + 'static> Coe<C> for Df<A, B, C>

Source§

fn coe(self) -> Value<C>

Source§

fn uncoe(x: Value<C>) -> Result<Self>