Introduce Cursor::seek_start to compute VersionedOffset once

This commit is contained in:
Antonio Scandurra 2021-06-10 13:42:43 +02:00
parent 71f50ce361
commit f294bfdbd9
3 changed files with 10 additions and 20 deletions

View file

@ -45,6 +45,10 @@ where
self.sum_dimension = U::default();
}
pub fn seek_start(&self) -> &S {
&self.seek_dimension
}
pub fn start(&self) -> &U {
&self.sum_dimension
}