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.
Access::new_write_all
1 parent 76df45d commit 1f19a3aCopy full SHA for 1f19a3a
crates/bevy_ecs/src/query/access.rs
@@ -161,8 +161,8 @@ impl Access {
161
access
162
}
163
164
- /// Creates an [`Access`] with read access to all components.
165
- /// This is equivalent to calling `read_all()` on `Access::new()`,
+ /// Creates an [`Access`] with read and write access to all components.
+ /// This is equivalent to calling `write_all()` on `Access::new()`,
166
/// but is available in a `const` context.
167
pub(crate) const fn new_write_all() -> Self {
168
let mut access = Self::new();
0 commit comments