Skip to content

Commit

Permalink
Add getter for ColumnDynamic count
Browse files Browse the repository at this point in the history
  • Loading branch information
GsLogiMaker committed Sep 11, 2023
1 parent 8192868 commit f66c3f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,11 @@ impl ColumnDynamic {
ColumnDynamic { array, count, element_size, is_shared }
}

#[inline]
pub fn count(&self) -> usize {
self.count
}

pub fn element_size(&self) -> usize {
self.element_size
}
Expand Down

0 comments on commit f66c3f8

Please # to comment.