pub struct Bookmark {
pub offsets: tsk_bookmark_t,
}
Expand description
A “bookmark” is used to adjust the ranges over which some table algorithms function.
For example, when
sort
ing
tables, a bookmark can be used to indicate
the first row from which to begin.
The names of the fields are the same
names as tables in a TableCollection.
Fields§
§offsets: tsk_bookmark_t
Implementations§
source§impl Bookmark
impl Bookmark
pub const fn new() -> Self
sourcepub fn individuals(&self) -> SizeType
pub fn individuals(&self) -> SizeType
Get the current value
sourcepub fn migrations(&self) -> SizeType
pub fn migrations(&self) -> SizeType
Get the current value
sourcepub fn populations(&self) -> SizeType
pub fn populations(&self) -> SizeType
Get the current value
sourcepub fn provenances(&self) -> SizeType
pub fn provenances(&self) -> SizeType
Get the current value
sourcepub fn set_individuals<I: Into<tsk_size_t>>(&mut self, value: I)
pub fn set_individuals<I: Into<tsk_size_t>>(&mut self, value: I)
Set the current value
sourcepub fn set_nodes<I: Into<tsk_size_t>>(&mut self, value: I)
pub fn set_nodes<I: Into<tsk_size_t>>(&mut self, value: I)
Set the current value
sourcepub fn set_edges<I: Into<tsk_size_t>>(&mut self, value: I)
pub fn set_edges<I: Into<tsk_size_t>>(&mut self, value: I)
Set the current value
sourcepub fn set_migrations<I: Into<tsk_size_t>>(&mut self, value: I)
pub fn set_migrations<I: Into<tsk_size_t>>(&mut self, value: I)
Set the current value
sourcepub fn set_sites<I: Into<tsk_size_t>>(&mut self, value: I)
pub fn set_sites<I: Into<tsk_size_t>>(&mut self, value: I)
Set the current value
sourcepub fn set_mutations<I: Into<tsk_size_t>>(&mut self, value: I)
pub fn set_mutations<I: Into<tsk_size_t>>(&mut self, value: I)
Set the current value
sourcepub fn set_populations<I: Into<tsk_size_t>>(&mut self, value: I)
pub fn set_populations<I: Into<tsk_size_t>>(&mut self, value: I)
Set the current value
sourcepub fn set_provenances<I: Into<tsk_size_t>>(&mut self, value: I)
pub fn set_provenances<I: Into<tsk_size_t>>(&mut self, value: I)
Set the current value