File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -362,17 +362,17 @@ impl EdgeTable {
362362 crate :: table_column:: OpaqueTableColumn ( self . parent_slice ( ) )
363363 }
364364
365- // pub fn child_column(&self) -> crate::EdgeTableColumn<crate:: NodeId> {
366- // crate::EdgeTableColumn::new (self.child_slice())
367- // }
365+ pub fn child_column ( & self ) -> impl crate :: table_column :: TableColumn < EdgeId , NodeId > + ' _ {
366+ crate :: table_column :: OpaqueTableColumn ( self . child_slice ( ) )
367+ }
368368
369- // pub fn left_column(&self) -> crate::EdgeTableColumn< Position> {
370- // crate::EdgeTableColumn::new (self.left_slice())
371- // }
369+ pub fn left_column ( & self ) -> impl crate :: table_column :: TableColumn < EdgeId , Position > + ' _ {
370+ crate :: table_column :: OpaqueTableColumn ( self . left_slice ( ) )
371+ }
372372
373- // pub fn right_column(&self) -> crate::EdgeTableColumn< Position> {
374- // crate::EdgeTableColumn::new (self.right_slice())
375- // }
373+ pub fn right_column ( & self ) -> impl crate :: table_column :: TableColumn < EdgeId , Position > + ' _ {
374+ crate :: table_column :: OpaqueTableColumn ( self . right_slice ( ) )
375+ }
376376
377377 /// Clear all data from the table
378378 pub fn clear ( & mut self ) -> Result < i32 , TskitError > {
You can’t perform that action at this time.
0 commit comments