Skip to content

Commit 579d053

Browse files
make methods pub(crate)
1 parent a8405d3 commit 579d053

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
@@ -35,7 +35,7 @@ impl Storages {
3535
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
3636
/// - the caller must ensure that no aliasing rules are violated
3737
#[inline]
38-
pub unsafe fn get_component_and_ticks_with_type(
38+
pub(crate) unsafe fn get_component_and_ticks_with_type(
3939
&self,
4040
archetypes: &Archetypes,
4141
components: &Components,
@@ -58,7 +58,7 @@ impl Storages {
5858
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
5959
/// - the caller must ensure that no aliasing rules are violated
6060
#[inline]
61-
pub unsafe fn get_component_and_ticks(
61+
pub(crate) unsafe fn get_component_and_ticks(
6262
&self,
6363
archetypes: &Archetypes,
6464
component_id: ComponentId,
@@ -93,7 +93,7 @@ impl Storages {
9393
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
9494
/// - the caller must ensure that no aliasing rules are violated
9595
#[inline]
96-
pub unsafe fn get_component_with_type(
96+
pub(crate) unsafe fn get_component_with_type(
9797
&self,
9898
archetypes: &Archetypes,
9999
components: &Components,
@@ -117,7 +117,7 @@ impl Storages {
117117
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
118118
/// - the caller must ensure that no aliasing rules are violated
119119
#[inline]
120-
pub unsafe fn get_component(
120+
pub(crate) unsafe fn get_component(
121121
&self,
122122
archetypes: &Archetypes,
123123
component_id: ComponentId,
@@ -146,7 +146,7 @@ impl Storages {
146146
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
147147
/// - the caller must ensure that no aliasing rules are violated
148148
#[inline]
149-
pub unsafe fn get_ticks_with_type(
149+
pub(crate) unsafe fn get_ticks_with_type(
150150
&self,
151151
archetypes: &Archetypes,
152152
components: &Components,
@@ -170,7 +170,7 @@ impl Storages {
170170
/// - `Archetypes` and `Components` must come from the world this of this `Storages`
171171
/// - the caller must ensure that no aliasing rules are violated
172172
#[inline]
173-
pub unsafe fn get_ticks(
173+
pub(crate) unsafe fn get_ticks(
174174
&self,
175175
archetypes: &Archetypes,
176176
component_id: ComponentId,

0 commit comments

Comments
 (0)