-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dfv1] add ctor to
datatypes::ComponentColumnSelector
- Loading branch information
Showing
3 changed files
with
15 additions
and
5 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
12 changes: 12 additions & 0 deletions
12
crates/store/re_types/src/blueprint/datatypes/component_column_selector_ext.rs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use re_log_types::EntityPath; | ||
use re_types_core::ComponentName; | ||
|
||
impl super::ComponentColumnSelector { | ||
/// Create a [`Self`] from an [`EntityPath`] and a [`ComponentName`]. | ||
pub fn new(entity_path: &EntityPath, component_name: ComponentName) -> Self { | ||
Self { | ||
entity_path: entity_path.into(), | ||
component: component_name.as_str().into(), | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.