-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autogenerate tagging-compliant descriptor methods for all archetypes (#…
…8643) Generate methods for all archetypes that allow retrieving the fully-qualified descriptor for any of the archetype's field. E.g. this method returns the descriptor for the `radii` field of `Points3D`: ```rust impl Points3D { /// Returns the [`ComponentDescriptor`] for [`Self::radii`]. #[inline] pub fn descriptor_radii() -> ComponentDescriptor { ComponentDescriptor { archetype_name: Some("rerun.archetypes.Points3D".into()), component_name: "rerun.components.Radius".into(), archetype_field_name: Some("radii".into()), } } } ``` This becomes a must as we start require tags in more and more places (e.g. partial updates APIs). * DNM: requires #8642 * Part of #8581
- Loading branch information
Showing
63 changed files
with
4,796 additions
and
5,329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 23 additions & 25 deletions
48
crates/store/re_types/src/archetypes/annotation_context.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.