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
sorting
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_tImplementations§
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
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bookmark
impl RefUnwindSafe for Bookmark
impl Send for Bookmark
impl Sync for Bookmark
impl Unpin for Bookmark
impl UnwindSafe for Bookmark
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more