|
1 | 1 | use std::ptr::NonNull; |
2 | 2 |
|
3 | | -use crate::IndividualId; |
4 | | -use crate::NodeFlags; |
5 | | -use crate::PopulationId; |
6 | | -use crate::Time; |
| 3 | +use super::flags::NodeFlags; |
| 4 | +use super::newtypes::IndividualId; |
| 5 | +use super::newtypes::PopulationId; |
| 6 | +use super::newtypes::Time; |
7 | 7 |
|
8 | 8 | use super::bindings::tsk_node_table_add_row; |
9 | 9 | use super::bindings::tsk_node_table_clear; |
@@ -114,20 +114,20 @@ impl NodeTable { |
114 | 114 | } |
115 | 115 | } |
116 | 116 |
|
117 | | - pub fn individual(&self, row: NodeId) -> Option<IndividualId> { |
118 | | - safe_tsk_column_access!(self, row, IndividualId, individual ) |
| 117 | + pub fn individual(&self, row: NodeId) -> Option<IndividualId> { |
| 118 | + safe_tsk_column_access!(self, row, IndividualId, individual) |
119 | 119 | } |
120 | 120 |
|
121 | | - pub fn population(&self, row: NodeId) -> Option<PopulationId> { |
122 | | - safe_tsk_column_access!(self, row, PopulationId, population ) |
| 121 | + pub fn population(&self, row: NodeId) -> Option<PopulationId> { |
| 122 | + safe_tsk_column_access!(self, row, PopulationId, population) |
123 | 123 | } |
124 | 124 |
|
125 | | - pub fn time(&self, row: NodeId) -> Option<Time> { |
126 | | - safe_tsk_column_access!(self, row, Time, time ) |
| 125 | + pub fn time(&self, row: NodeId) -> Option<Time> { |
| 126 | + safe_tsk_column_access!(self, row, Time, time) |
127 | 127 | } |
128 | 128 |
|
129 | | - pub fn flags(&self, row: NodeId) -> Option<NodeFlags> { |
130 | | - safe_tsk_column_access!(self, row, NodeFlags, flags ) |
| 129 | + pub fn flags(&self, row: NodeId) -> Option<NodeFlags> { |
| 130 | + safe_tsk_column_access!(self, row, NodeFlags, flags) |
131 | 131 | } |
132 | 132 | } |
133 | 133 |
|
|
0 commit comments