Skip to content

Commit

Permalink
bring back the two extensions i accidentally killed
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Dec 11, 2024
1 parent 32732ed commit e5a011a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
10 changes: 10 additions & 0 deletions crates/store/re_types/src/blueprint/components/auto_layout_ext.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
use crate::datatypes::Bool;

use super::AutoLayout;

impl Default for AutoLayout {
#[inline]
fn default() -> Self {
Self(Bool(true))
}
}
1 change: 1 addition & 0 deletions crates/store/re_types/src/blueprint/components/mod.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/store/re_types/src/blueprint/datatypes/mod.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions crates/store/re_types/src/blueprint/datatypes/utf8list_ext.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
use super::Utf8List;

impl Utf8List {
/// Iterates through the list of strings as Rust `str` references.
pub fn iter(&self) -> impl Iterator<Item = &'_ str> {
self.0.iter().map(|s| s.as_str())
}
}
2 changes: 1 addition & 1 deletion crates/viewer/re_viewer/src/reflection/mod.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e5a011a

Please sign in to comment.