@@ -21,29 +21,29 @@ mod private
2121/// 
2222#[  repr(  transparent )  ]  
2323  #[  derive(  Clone ,  Copy  )  ]  
24-   pub  struct  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   > 
24+   pub  struct  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey > 
2525  ( 
2626    & ' table  Table , 
2727    :: core:: marker:: PhantomData 
2828    < ( 
2929      & ' table  ( ) , 
30-       fn ( )  -> (  & ' table  RowKey ,  Row ,  & ' table  CellKey ,   CellRepr  ) , 
30+       fn ( )  -> (  & ' table  RowKey ,  Row ,  & ' table  CellKey  ) , 
3131    ) > , 
3232  ) 
3333  where 
3434    RowKey  :  table:: RowKey , 
35-     Row  :  Cells <  CellKey ,   CellRepr   > , 
35+     Row  :  Cells <  CellKey > , 
3636    CellKey  :  table:: CellKey  + ?Sized , 
37-     CellRepr  :  table:: CellRepr 
37+     //  CellRepr : table::CellRepr
3838  ; 
3939
40-   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   > 
41-   AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   > 
40+   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey > 
41+   AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey > 
4242  where 
4343    RowKey  :  table:: RowKey , 
44-     Row  :  Cells <  CellKey ,   CellRepr   > , 
44+     Row  :  Cells <  CellKey > , 
4545    CellKey  :  table:: CellKey  + ?Sized , 
46-     CellRepr  :  table:: CellRepr , 
46+     //  CellRepr : table::CellRepr,
4747  { 
4848    /// Just a constructor. 
4949pub  fn  new (  src  :  & ' table  Table  )  -> Self 
@@ -52,27 +52,27 @@ mod private
5252    } 
5353  } 
5454
55-   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   >  AsRef <  Table  > 
56-   for  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   > 
55+   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey >  AsRef <  Table  > 
56+   for  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey > 
5757  where 
5858    RowKey  :  table:: RowKey , 
59-     Row  :  Cells <  CellKey ,   CellRepr   > , 
59+     Row  :  Cells <  CellKey > , 
6060    CellKey  :  table:: CellKey  + ?Sized , 
61-     CellRepr  :  table:: CellRepr , 
61+     //  CellRepr : table::CellRepr,
6262  { 
6363    fn  as_ref (  & self  )  -> & Table 
6464    { 
6565      & self . 0 
6666    } 
6767  } 
6868
69-   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   >  Deref 
70-   for  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   > 
69+   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey >  Deref 
70+   for  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey > 
7171  where 
7272    RowKey  :  table:: RowKey , 
73-     Row  :  Cells <  CellKey ,   CellRepr   > , 
73+     Row  :  Cells <  CellKey > , 
7474    CellKey  :  table:: CellKey  + ?Sized , 
75-     CellRepr  :  table:: CellRepr , 
75+     //  CellRepr : table::CellRepr,
7676  { 
7777    type  Target  = Table ; 
7878
@@ -82,28 +82,28 @@ mod private
8282    } 
8383  } 
8484
85-   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   >  From <  & ' table  Table  > 
86-   for  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   > 
85+   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey >  From <  & ' table  Table  > 
86+   for  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey > 
8787  where 
8888    RowKey  :  table:: RowKey , 
89-     Row  :  Cells <  CellKey ,   CellRepr   > , 
89+     Row  :  Cells <  CellKey > , 
9090    CellKey  :  table:: CellKey  + ?Sized , 
91-     CellRepr  :  table:: CellRepr , 
91+     //  CellRepr : table::CellRepr,
9292  { 
9393    fn  from (  table  :  & ' table  Table  )  -> Self 
9494    { 
9595      AsTable (  table,  PhantomData  ) 
9696    } 
9797  } 
9898
99-   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   >  fmt:: Debug 
100-   for  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   > 
99+   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey >  fmt:: Debug 
100+   for  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey > 
101101  where 
102102    Table  :  fmt:: Debug , 
103103    RowKey  :  table:: RowKey , 
104-     Row  :  Cells <  CellKey ,   CellRepr   > , 
104+     Row  :  Cells <  CellKey > , 
105105    CellKey  :  table:: CellKey  + ?Sized , 
106-     CellRepr  :  table:: CellRepr , 
106+     //  CellRepr : table::CellRepr,
107107  { 
108108    fn  fmt (  & self ,  f  :  & mut  fmt:: Formatter <  ' _  >  )  -> fmt:: Result 
109109    { 
@@ -130,35 +130,35 @@ mod private
130130type  RowKey  :  table:: RowKey ; 
131131
132132    /// The type representing a row, must implement `Cells`. 
133- type  Row  :  Cells <  Self :: CellKey ,   Self :: CellRepr  > ; 
133+ type  Row  :  Cells <  Self :: CellKey  > ; 
134134
135135    /// The type used to identify cells within a row, must implement `Key` and can be unsized. 
136136type  CellKey  :  table:: CellKey  + ?Sized ; 
137137
138-     /// The type representing the content of a cell, must implement `CellRepr`. 
139- type  CellRepr  :  table:: CellRepr ; 
138+     // // / The type representing the content of a cell, must implement `CellRepr`. 
139+     //  type //  CellRepr : table::CellRepr;
140140
141141    /// Converts the data reference into an `AsTable` reference. 
142- fn  as_table (  & self  )  -> AsTable <  ' _ ,  Self :: Table ,  Self :: RowKey ,  Self :: Row ,  Self :: CellKey ,   Self :: CellRepr  > ; 
142+ fn  as_table (  & self  )  -> AsTable <  ' _ ,  Self :: Table ,  Self :: RowKey ,  Self :: Row ,  Self :: CellKey  > ; 
143143  } 
144144
145-   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   >  IntoAsTable 
146-   for  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey ,   CellRepr   > 
145+   impl <  ' table ,  Table ,  RowKey ,  Row ,  CellKey >  IntoAsTable 
146+   for  AsTable <  ' table ,  Table ,  RowKey ,  Row ,  CellKey > 
147147  where 
148148    RowKey  :  table:: RowKey , 
149-     Row  :  Cells <  CellKey ,   CellRepr   > , 
149+     Row  :  Cells <  CellKey > , 
150150    CellKey  :  table:: CellKey  + ?Sized , 
151-     CellRepr  :  table:: CellRepr , 
151+     //  CellRepr : table::CellRepr,
152152    Self  :  Copy , 
153153  { 
154154
155155    type  Table  = Table ; 
156156    type  RowKey  = RowKey ; 
157157    type  Row  = Row ; 
158158    type  CellKey  = CellKey ; 
159-     type  CellRepr  = CellRepr ; 
159+     //  type CellRepr = CellRepr;
160160
161-     fn  as_table (  & self  )  -> AsTable <  ' _ ,  Self :: Table ,  Self :: RowKey ,  Self :: Row ,  Self :: CellKey ,   Self :: CellRepr  > 
161+     fn  as_table (  & self  )  -> AsTable <  ' _ ,  Self :: Table ,  Self :: RowKey ,  Self :: Row ,  Self :: CellKey  > 
162162    { 
163163      * self 
164164    } 
@@ -168,9 +168,9 @@ mod private
168168//   impl< Row > IntoAsTable 
169169//   for Vec< Row > 
170170//   where 
171- //     Row : Cells< Self::CellKey, Self::CellRepr  >, 
171+ //     Row : Cells< Self::CellKey >, 
172172//     // CellKey : table::CellKey + ?Sized, 
173- //     // CellRepr : table::CellRepr, 
173+ //     // //  CellRepr : table::CellRepr, 
174174//   { 
175175// 
176176//     type Table = Self; 
@@ -179,14 +179,14 @@ mod private
179179//     type CellKey = str; 
180180//     type CellRepr = WithRef; 
181181// 
182- //     fn as_table( &self ) -> AsTable< '_, Self::Table, Self::RowKey, Self::Row, Self::CellKey, Self::CellRepr  > 
182+ //     fn as_table( &self ) -> AsTable< '_, Self::Table, Self::RowKey, Self::Row, Self::CellKey > 
183183//     { 
184184//       AsTable::from( self ) 
185185//     } 
186186// 
187187//   } 
188188
189-   // pub struct AsTable< 'table, Table, RowKey, Row, CellKey, CellRepr  > 
189+   // pub struct AsTable< 'table, Table, RowKey, Row, CellKey> 
190190
191191} 
192192
0 commit comments