File tree 9 files changed +2
-30
lines changed
9 files changed +2
-30
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,6 @@ impl<'a> streaming_iterator::StreamingIterator for EdgeTableRowView<'a> {
138
138
}
139
139
140
140
/// An immutable view of an edge table.
141
- ///
142
- /// These are not created directly but are accessed
143
- /// by types implementing [`std::ops::Deref`] to
144
- /// [`crate::table_views::TableViews`]
145
141
#[ repr( transparent) ]
146
142
#[ derive( Debug ) ]
147
143
pub struct EdgeTable {
Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ impl<'a> streaming_iterator::StreamingIterator for IndividualTableRowView<'a> {
96
96
}
97
97
98
98
/// An immutable view of a individual table.
99
- ///
100
- /// These are not created directly but are accessed
101
- /// by types implementing [`std::ops::Deref`] to
102
- /// [`crate::table_views::TableViews`]
103
99
#[ derive( Debug ) ]
104
100
#[ repr( transparent) ]
105
101
pub struct IndividualTable {
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ mod site_table;
95
95
mod sys;
96
96
mod table_collection;
97
97
mod table_iterator;
98
- pub mod table_views;
98
+ mod table_views;
99
99
mod traits;
100
100
mod tree_interface;
101
101
mod trees;
Original file line number Diff line number Diff line change @@ -158,10 +158,6 @@ impl<'a> streaming_iterator::StreamingIterator for MigrationTableRowView<'a> {
158
158
}
159
159
160
160
/// An immutable view of a migration table.
161
- ///
162
- /// These are not created directly but are accessed
163
- /// by types implementing [`std::ops::Deref`] to
164
- /// [`crate::table_views::TableViews`]
165
161
#[ derive( Debug ) ]
166
162
#[ repr( transparent) ]
167
163
pub struct MigrationTable {
Original file line number Diff line number Diff line change @@ -155,10 +155,6 @@ impl<'a> streaming_iterator::StreamingIterator for MutationTableRowView<'a> {
155
155
}
156
156
157
157
/// An immutable view of site table.
158
- ///
159
- /// These are not created directly but are accessed
160
- /// by types implementing [`std::ops::Deref`] to
161
- /// [`crate::table_views::TableViews`]
162
158
#[ derive( Debug ) ]
163
159
#[ repr( transparent) ]
164
160
pub struct MutationTable {
Original file line number Diff line number Diff line change @@ -139,10 +139,6 @@ impl<'a> streaming_iterator::StreamingIterator for NodeTableRowView<'a> {
139
139
}
140
140
141
141
/// An immtable view of a node table.
142
- ///
143
- /// These are not created directly but are accessed
144
- /// by types implementing [`std::ops::Deref`] to
145
- /// [`crate::table_views::TableViews`]
146
142
#[ derive( Debug ) ]
147
143
#[ repr( transparent) ]
148
144
pub struct NodeTable {
Original file line number Diff line number Diff line change @@ -107,10 +107,6 @@ impl<'a> streaming_iterator::StreamingIterator for PopulationTableRowView<'a> {
107
107
}
108
108
109
109
/// An immutable view of site table.
110
- ///
111
- /// These are not created directly but are accessed
112
- /// by types implementing [`std::ops::Deref`] to
113
- /// [`crate::table_views::TableViews`]
114
110
#[ repr( transparent) ]
115
111
#[ derive( Debug ) ]
116
112
pub struct PopulationTable {
Original file line number Diff line number Diff line change @@ -125,10 +125,6 @@ impl<'a> streaming_iterator::StreamingIterator for SiteTableRowView<'a> {
125
125
}
126
126
127
127
/// An immutable view of site table.
128
- ///
129
- /// These are not created directly but are accessed
130
- /// by types implementing [`std::ops::Deref`] to
131
- /// [`crate::table_views::TableViews`]
132
128
#[ derive( Debug ) ]
133
129
#[ repr( transparent) ]
134
130
pub struct SiteTable {
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ impl streaming_iterator::DoubleEndedStreamingIterator for Tree {
166
166
/// assert_eq!(treeseq.edges().num_rows(), 2);
167
167
/// ```
168
168
///
169
- /// This type does not [`std::ops::DerefMut`] to [`crate::table_views::TableViews`]:
169
+ /// This type does not provide access to mutable tables.
170
170
///
171
171
/// ```compile_fail
172
172
/// # let mut tables = tskit::TableCollection::new(1000.).unwrap();
You can’t perform that action at this time.
0 commit comments