-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Document Fetch, Access and related types for bevy_ecs #3386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document Fetch, Access and related types for bevy_ecs #3386
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is great and very helpful to someone not already familiar with all of this
@@ -232,7 +246,7 @@ impl<T: Component> WorldQuery for &T { | |||
type ReadOnlyFetch = ReadFetch<T>; | |||
} | |||
|
|||
/// The [`FetchState`] of `&T`. | |||
/// The [`FetchState`] of `&T`, when used as a [Component] in a [WorldQuery]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a difference between [StructDefinition]
and [`StructDefinition`]
when it comes to what is being linked / how it is rendered in the rust-docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latter will be shown in code-style monospace text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, thanks!
Closing; I don't care enough to fix the merge conflicts. These can be rewritten in further PRs. |
Objective
Solution