Skip to content

Commit efcac46

Browse files
make methods pub(crate)
1 parent 2f06ee1 commit efcac46

File tree

1 file changed

+6
-6
lines changed
  • crates/bevy_ecs/src/storage

1 file changed

+6
-6
lines changed

crates/bevy_ecs/src/storage/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl Storages {
3434
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
3535
/// - the caller must ensure that no aliasing rules are violated
3636
#[inline]
37-
pub unsafe fn get_component_and_ticks_with_type(
37+
pub(crate) unsafe fn get_component_and_ticks_with_type(
3838
&self,
3939
archetypes: &Archetypes,
4040
components: &Components,
@@ -57,7 +57,7 @@ impl Storages {
5757
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
5858
/// - the caller must ensure that no aliasing rules are violated
5959
#[inline]
60-
pub unsafe fn get_component_and_ticks(
60+
pub(crate) unsafe fn get_component_and_ticks(
6161
&self,
6262
archetypes: &Archetypes,
6363
component_id: ComponentId,
@@ -92,7 +92,7 @@ impl Storages {
9292
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
9393
/// - the caller must ensure that no aliasing rules are violated
9494
#[inline]
95-
pub unsafe fn get_component_with_type(
95+
pub(crate) unsafe fn get_component_with_type(
9696
&self,
9797
archetypes: &Archetypes,
9898
components: &Components,
@@ -116,7 +116,7 @@ impl Storages {
116116
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
117117
/// - the caller must ensure that no aliasing rules are violated
118118
#[inline]
119-
pub unsafe fn get_component(
119+
pub(crate) unsafe fn get_component(
120120
&self,
121121
archetypes: &Archetypes,
122122
component_id: ComponentId,
@@ -145,7 +145,7 @@ impl Storages {
145145
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
146146
/// - the caller must ensure that no aliasing rules are violated
147147
#[inline]
148-
pub unsafe fn get_ticks_with_type(
148+
pub(crate) unsafe fn get_ticks_with_type(
149149
&self,
150150
archetypes: &Archetypes,
151151
components: &Components,
@@ -169,7 +169,7 @@ impl Storages {
169169
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
170170
/// - the caller must ensure that no aliasing rules are violated
171171
#[inline]
172-
pub unsafe fn get_ticks(
172+
pub(crate) unsafe fn get_ticks(
173173
&self,
174174
archetypes: &Archetypes,
175175
component_id: ComponentId,

0 commit comments

Comments
 (0)