@@ -925,7 +925,7 @@ impl TableCollection {
925
925
/// ```
926
926
=> add_provenance, self , self . inner. provenances) ;
927
927
928
- /// Set the edge table from an [`OwnedEdgeTable `](`crate::OwningEdgeTable`)
928
+ /// Set the edge table from an [`OwningEdgeTable `](`crate::OwningEdgeTable`)
929
929
///
930
930
/// # Errors
931
931
///
@@ -936,7 +936,7 @@ impl TableCollection {
936
936
/// ```rust
937
937
/// #
938
938
/// let mut tables = tskit::TableCollection::new(1.0).unwrap();
939
- /// let mut edges = tskit::OwnedEdgeTable ::default();
939
+ /// let mut edges = tskit::OwningEdgeTable ::default();
940
940
/// edges.add_row(0., 1., 0, 12).unwrap();
941
941
/// tables.set_edges(&edges).unwrap();
942
942
/// assert_eq!(tables.edges().num_rows(), 1);
@@ -962,7 +962,7 @@ impl TableCollection {
962
962
handle_tsk_return_value ! ( rv)
963
963
}
964
964
965
- /// Set the node table from an [`OwnedNodeTable `](`crate::OwningNodeTable`)
965
+ /// Set the node table from an [`OwningNodeTable `](`crate::OwningNodeTable`)
966
966
///
967
967
/// # Errors
968
968
///
@@ -973,7 +973,7 @@ impl TableCollection {
973
973
/// ```rust
974
974
/// #
975
975
/// let mut tables = tskit::TableCollection::new(1.0).unwrap();
976
- /// let mut nodes = tskit::OwnedNodeTable ::default();
976
+ /// let mut nodes = tskit::OwningNodeTable ::default();
977
977
/// nodes.add_row(0, 10.0, -1, -1).unwrap();
978
978
/// tables.set_nodes(&nodes).unwrap();
979
979
/// assert_eq!(tables.nodes().num_rows(), 1);
@@ -999,7 +999,7 @@ impl TableCollection {
999
999
handle_tsk_return_value ! ( rv)
1000
1000
}
1001
1001
1002
- /// Set the site table from an [`OwnedSiteTable `](`crate::OwningSiteTable`)
1002
+ /// Set the site table from an [`OwningSiteTable `](`crate::OwningSiteTable`)
1003
1003
///
1004
1004
/// # Errors
1005
1005
///
@@ -1010,7 +1010,7 @@ impl TableCollection {
1010
1010
/// ```rust
1011
1011
/// #
1012
1012
/// let mut tables = tskit::TableCollection::new(1.0).unwrap();
1013
- /// let mut sites = tskit::OwnedSiteTable ::default();
1013
+ /// let mut sites = tskit::OwningSiteTable ::default();
1014
1014
/// sites.add_row(11.0, None).unwrap();
1015
1015
/// tables.set_sites(&sites).unwrap();
1016
1016
/// assert_eq!(tables.sites().num_rows(), 1);
@@ -1035,7 +1035,7 @@ impl TableCollection {
1035
1035
handle_tsk_return_value ! ( rv)
1036
1036
}
1037
1037
1038
- /// Set the mutation table from an [`OwnedMutationTable `](`crate::OwningSiteTable`)
1038
+ /// Set the mutation table from an [`OwningMutationTable `](`crate::OwningSiteTable`)
1039
1039
///
1040
1040
/// # Errors
1041
1041
///
@@ -1046,7 +1046,7 @@ impl TableCollection {
1046
1046
/// ```rust
1047
1047
/// #
1048
1048
/// let mut tables = tskit::TableCollection::new(1.0).unwrap();
1049
- /// let mut mutations = tskit::OwnedMutationTable ::default();
1049
+ /// let mut mutations = tskit::OwningMutationTable ::default();
1050
1050
/// mutations.add_row(14, 12, -1, 11.3, None).unwrap();
1051
1051
/// tables.set_mutations(&mutations).unwrap();
1052
1052
/// assert_eq!(tables.mutations().num_rows(), 1);
@@ -1074,7 +1074,7 @@ impl TableCollection {
1074
1074
handle_tsk_return_value ! ( rv)
1075
1075
}
1076
1076
1077
- /// Set the individual table from an [`OwnedIndividualTable `](`crate::OwningSiteTable`)
1077
+ /// Set the individual table from an [`OwningIndividualTable `](`crate::OwningSiteTable`)
1078
1078
///
1079
1079
/// # Errors
1080
1080
///
@@ -1085,7 +1085,7 @@ impl TableCollection {
1085
1085
/// ```rust
1086
1086
/// #
1087
1087
/// let mut tables = tskit::TableCollection::new(1.0).unwrap();
1088
- /// let mut individuals = tskit::OwnedIndividualTable ::default();
1088
+ /// let mut individuals = tskit::OwningIndividualTable ::default();
1089
1089
/// individuals.add_row(0, [0.1, 10.0], None).unwrap();
1090
1090
/// tables.set_individuals(&individuals).unwrap();
1091
1091
/// assert_eq!(tables.individuals().num_rows(), 1);
@@ -1116,7 +1116,7 @@ impl TableCollection {
1116
1116
handle_tsk_return_value ! ( rv)
1117
1117
}
1118
1118
1119
- /// Set the migration table from an [`OwnedMigrationTable `](`crate::OwningSiteTable`)
1119
+ /// Set the migration table from an [`OwningMigrationTable `](`crate::OwningSiteTable`)
1120
1120
///
1121
1121
/// # Errors
1122
1122
///
@@ -1127,7 +1127,7 @@ impl TableCollection {
1127
1127
/// ```rust
1128
1128
/// #
1129
1129
/// let mut tables = tskit::TableCollection::new(1.0).unwrap();
1130
- /// let mut migrations = tskit::OwnedMigrationTable ::default();
1130
+ /// let mut migrations = tskit::OwningMigrationTable ::default();
1131
1131
/// migrations.add_row((0.25, 0.37), 1, (0, 1), 111.0).unwrap();
1132
1132
/// tables.set_migrations(&migrations).unwrap();
1133
1133
/// assert_eq!(tables.migrations().num_rows(), 1);
@@ -1155,7 +1155,7 @@ impl TableCollection {
1155
1155
handle_tsk_return_value ! ( rv)
1156
1156
}
1157
1157
1158
- /// Set the population table from an [`OwnedPopulationTable `](`crate::OwningSiteTable`)
1158
+ /// Set the population table from an [`OwningPopulationTable `](`crate::OwningSiteTable`)
1159
1159
///
1160
1160
/// # Errors
1161
1161
///
@@ -1166,7 +1166,7 @@ impl TableCollection {
1166
1166
/// ```rust
1167
1167
/// #
1168
1168
/// let mut tables = tskit::TableCollection::new(1.0).unwrap();
1169
- /// let mut populations = tskit::OwnedPopulationTable ::default();
1169
+ /// let mut populations = tskit::OwningPopulationTable ::default();
1170
1170
/// populations.add_row().unwrap();
1171
1171
/// tables.set_populations(&populations).unwrap();
1172
1172
/// assert_eq!(tables.populations().num_rows(), 1);
@@ -1193,7 +1193,7 @@ impl TableCollection {
1193
1193
#[ cfg( feature = "provenance" ) ]
1194
1194
#[ cfg_attr( doc_cfg, doc( cfg( feature = "provenance" ) ) ) ]
1195
1195
/// Set the provenance table from an
1196
- /// [`OwnedProvenanceTable `](`crate::provenance::OwnedProvenanceTable `)
1196
+ /// [`OwningProvenanceTable `](`crate::provenance::OwningProvenanceTable `)
1197
1197
///
1198
1198
/// # Errors
1199
1199
///
@@ -1205,7 +1205,7 @@ impl TableCollection {
1205
1205
/// # #[cfg(feature="provenance")] {
1206
1206
/// #
1207
1207
/// let mut tables = tskit::TableCollection::new(1.0).unwrap();
1208
- /// let mut provenances = tskit::provenance::OwnedProvenanceTable ::default();
1208
+ /// let mut provenances = tskit::provenance::OwningProvenanceTable ::default();
1209
1209
/// provenances.add_row("I like pancakes").unwrap();
1210
1210
/// tables.set_provenances(&provenances).unwrap();
1211
1211
/// assert_eq!(tables.provenances().num_rows(), 1);
@@ -1216,7 +1216,7 @@ impl TableCollection {
1216
1216
/// ```
1217
1217
pub fn set_provenances (
1218
1218
& mut self ,
1219
- provenances : & crate :: provenance:: OwnedProvenanceTable ,
1219
+ provenances : & crate :: provenance:: OwningProvenanceTable ,
1220
1220
) -> TskReturnValue {
1221
1221
// SAFETY: neither self nor edges are possible
1222
1222
// to create with null pointers.
0 commit comments