1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
use core::marker::PhantomData;

use super::{
  HasRecApp,
  HasRecEndpoint,
};

pub struct RecX<C, F>
{
  pub unfix: Box<dyn HasRecApp<F, (RecX<C, F>, C)>>,
}

pub type Rec<F> = RecX<(), F>;

pub enum Release {}

pub struct RecRow<R, Row>
{
  phantom: PhantomData<(R, Row)>,
}

pub struct SharedRecRow<R, Row>
{
  phantom: PhantomData<(R, Row)>,
}

pub struct RecEndpoint<F, C>
{
  pub applied: Box<dyn HasRecEndpoint<F, C>>,
}