We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52bdff0 commit 68499b4Copy full SHA for 68499b4
crates/bevy_ecs/src/entity/mod.rs
@@ -243,10 +243,6 @@ pub struct Entities {
243
}
244
245
impl Entities {
246
- pub fn meta_len(&self) -> usize {
247
- self.meta.len()
248
- }
249
-
250
/// Reserve entity IDs concurrently.
251
///
252
/// Storage for entity generation and location is lazily allocated by calling `flush`.
@@ -548,6 +544,12 @@ impl Entities {
548
544
549
545
550
546
547
+ /// Accessor for getting the length of the vec in `self.meta`
+ #[inline]
+ pub fn meta_len(&self) -> usize {
+ self.meta.len()
551
+ }
552
+
553
#[inline]
554
pub fn len(&self) -> u32 {
555
self.len
0 commit comments