diff --git a/crates/build/re_types_builder/src/codegen/rust/api.rs b/crates/build/re_types_builder/src/codegen/rust/api.rs index cb244bd6e1a9..4d247e695dd2 100644 --- a/crates/build/re_types_builder/src/codegen/rust/api.rs +++ b/crates/build/re_types_builder/src/codegen/rust/api.rs @@ -185,7 +185,7 @@ fn generate_object_file( code.push_str("use ::re_types_core::SerializationResult;\n"); code.push_str("use ::re_types_core::{DeserializationResult, DeserializationError};\n"); code.push_str("use ::re_types_core::{ComponentDescriptor, ComponentName};\n"); - code.push_str("use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch};\n"); + code.push_str("use ::re_types_core::{ComponentBatch, SerializedComponentBatch};\n"); // NOTE: `TokenStream`s discard whitespacing information by definition, so we need to // inject some of our own when writing to file… while making sure that don't inject @@ -1174,7 +1174,7 @@ fn quote_trait_impls_for_archetype(obj: &Object) -> TokenStream { let all_component_batches = { std::iter::once(quote! { - Self::indicator().serialized() + Some(Self::indicator()) }) .chain(obj.fields.iter().map(|obj_field| { let field_name = format_ident!("{}", obj_field.name); @@ -1244,9 +1244,9 @@ fn quote_trait_impls_for_archetype(obj: &Object) -> TokenStream { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: #quoted_indicator_name = #quoted_indicator_name::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] // There is no such thing as failing to serialize an indicator. + #quoted_indicator_name::DEFAULT.serialized().unwrap() } #[inline] @@ -1665,8 +1665,7 @@ fn quote_builder_from_obj(reporter: &Reporter, objects: &Objects, obj: &Object) I: IntoIterator + Clone, { let columns = [ #(#fields),* ]; - let indicator_column = #indicator_column; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns.into_iter().flatten().chain([#indicator_column])) } #columns_unary_doc diff --git a/crates/store/re_data_loader/src/loader_archetype.rs b/crates/store/re_data_loader/src/loader_archetype.rs index eed641e3a398..26a25a8c5aaa 100644 --- a/crates/store/re_data_loader/src/loader_archetype.rs +++ b/crates/store/re_data_loader/src/loader_archetype.rs @@ -220,7 +220,7 @@ fn load_video( std::iter::once((video_timeline, time_column)).collect(), [ ( - VideoFrameReference::indicator().descriptor().into_owned(), + VideoFrameReference::indicator().descriptor.clone(), video_frame_reference_indicators_list_array, ), ( diff --git a/crates/store/re_log_types/src/example_components.rs b/crates/store/re_log_types/src/example_components.rs index a0566ae99b49..69e26ff560e0 100644 --- a/crates/store/re_log_types/src/example_components.rs +++ b/crates/store/re_log_types/src/example_components.rs @@ -67,6 +67,13 @@ impl MyPoints { impl re_types_core::Archetype for MyPoints { type Indicator = re_types_core::GenericIndicatorComponent; + fn indicator() -> SerializedComponentBatch { + use re_types_core::ComponentBatch as _; + // These is no such thing as failing to serialized an indicator. + #[allow(clippy::unwrap_used)] + Self::Indicator::default().serialized().unwrap() + } + fn name() -> re_types_core::ArchetypeName { "example.MyPoints".into() } diff --git a/crates/store/re_types/src/archetypes/annotation_context.rs b/crates/store/re_types/src/archetypes/annotation_context.rs index e9acbef71822..be29a0b32ebb 100644 --- a/crates/store/re_types/src/archetypes/annotation_context.rs +++ b/crates/store/re_types/src/archetypes/annotation_context.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -136,9 +136,9 @@ impl ::re_types_core::Archetype for AnnotationContext { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: AnnotationContextIndicator = AnnotationContextIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + AnnotationContextIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -179,7 +179,7 @@ impl ::re_types_core::AsComponents for AnnotationContext { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.context.clone()] + [Some(Self::indicator()), self.context.clone()] .into_iter() .flatten() .collect() @@ -237,9 +237,12 @@ impl AnnotationContext { .context .map(|context| context.partitioned(_lengths.clone())) .transpose()?]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/arrows2d.rs b/crates/store/re_types/src/archetypes/arrows2d.rs index cbfc5d4c0ca6..314c2278a6d5 100644 --- a/crates/store/re_types/src/archetypes/arrows2d.rs +++ b/crates/store/re_types/src/archetypes/arrows2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -239,9 +239,9 @@ impl ::re_types_core::Archetype for Arrows2D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Arrows2DIndicator = Arrows2DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Arrows2DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -319,7 +319,7 @@ impl ::re_types_core::AsComponents for Arrows2D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.vectors.clone(), self.origins.clone(), self.radii.clone(), @@ -445,9 +445,12 @@ impl Arrows2D { .map(|class_ids| class_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/arrows3d.rs b/crates/store/re_types/src/archetypes/arrows3d.rs index 639cfdf98fc2..016c839f1b19 100644 --- a/crates/store/re_types/src/archetypes/arrows3d.rs +++ b/crates/store/re_types/src/archetypes/arrows3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -235,9 +235,9 @@ impl ::re_types_core::Archetype for Arrows3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Arrows3DIndicator = Arrows3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Arrows3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -309,7 +309,7 @@ impl ::re_types_core::AsComponents for Arrows3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.vectors.clone(), self.origins.clone(), self.radii.clone(), @@ -426,9 +426,12 @@ impl Arrows3D { .map(|class_ids| class_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/asset3d.rs b/crates/store/re_types/src/archetypes/asset3d.rs index 8dd082075380..12710e673210 100644 --- a/crates/store/re_types/src/archetypes/asset3d.rs +++ b/crates/store/re_types/src/archetypes/asset3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -166,9 +166,9 @@ impl ::re_types_core::Archetype for Asset3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Asset3DIndicator = Asset3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Asset3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -224,7 +224,7 @@ impl ::re_types_core::AsComponents for Asset3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.blob.clone(), self.media_type.clone(), self.albedo_factor.clone(), @@ -303,9 +303,12 @@ impl Asset3D { .map(|albedo_factor| albedo_factor.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/asset_video.rs b/crates/store/re_types/src/archetypes/asset_video.rs index af28237a5663..599410bc4334 100644 --- a/crates/store/re_types/src/archetypes/asset_video.rs +++ b/crates/store/re_types/src/archetypes/asset_video.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -215,9 +215,9 @@ impl ::re_types_core::Archetype for AssetVideo { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: AssetVideoIndicator = AssetVideoIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + AssetVideoIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -264,7 +264,7 @@ impl ::re_types_core::AsComponents for AssetVideo { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.blob.clone(), self.media_type.clone(), ] @@ -334,9 +334,12 @@ impl AssetVideo { .map(|media_type| media_type.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/bar_chart.rs b/crates/store/re_types/src/archetypes/bar_chart.rs index 377d8ad291f2..73aab4c414e9 100644 --- a/crates/store/re_types/src/archetypes/bar_chart.rs +++ b/crates/store/re_types/src/archetypes/bar_chart.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -127,9 +127,9 @@ impl ::re_types_core::Archetype for BarChart { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: BarChartIndicator = BarChartIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + BarChartIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -174,7 +174,7 @@ impl ::re_types_core::AsComponents for BarChart { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.values.clone(), self.color.clone(), ] @@ -244,9 +244,12 @@ impl BarChart { .map(|color| color.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/boxes2d.rs b/crates/store/re_types/src/archetypes/boxes2d.rs index 9bdd22e0aded..0e522357e098 100644 --- a/crates/store/re_types/src/archetypes/boxes2d.rs +++ b/crates/store/re_types/src/archetypes/boxes2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -232,9 +232,9 @@ impl ::re_types_core::Archetype for Boxes2D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Boxes2DIndicator = Boxes2DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Boxes2DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -314,7 +314,7 @@ impl ::re_types_core::AsComponents for Boxes2D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.half_sizes.clone(), self.centers.clone(), self.colors.clone(), @@ -440,9 +440,12 @@ impl Boxes2D { .map(|class_ids| class_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/boxes3d.rs b/crates/store/re_types/src/archetypes/boxes3d.rs index 00dbb04ac9fd..cd9985c69c99 100644 --- a/crates/store/re_types/src/archetypes/boxes3d.rs +++ b/crates/store/re_types/src/archetypes/boxes3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -286,9 +286,9 @@ impl ::re_types_core::Archetype for Boxes3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Boxes3DIndicator = Boxes3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Boxes3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -383,7 +383,7 @@ impl ::re_types_core::AsComponents for Boxes3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.half_sizes.clone(), self.centers.clone(), self.rotation_axis_angles.clone(), @@ -527,9 +527,12 @@ impl Boxes3D { .map(|class_ids| class_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/capsules3d.rs b/crates/store/re_types/src/archetypes/capsules3d.rs index 1b946d78ae3b..041cdf719f3b 100644 --- a/crates/store/re_types/src/archetypes/capsules3d.rs +++ b/crates/store/re_types/src/archetypes/capsules3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -280,9 +280,9 @@ impl ::re_types_core::Archetype for Capsules3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Capsules3DIndicator = Capsules3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Capsules3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -371,7 +371,7 @@ impl ::re_types_core::AsComponents for Capsules3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.lengths.clone(), self.radii.clone(), self.translations.clone(), @@ -507,9 +507,12 @@ impl Capsules3D { .map(|class_ids| class_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/depth_image.rs b/crates/store/re_types/src/archetypes/depth_image.rs index d7ea860b2011..3f6bbcc7cb0f 100644 --- a/crates/store/re_types/src/archetypes/depth_image.rs +++ b/crates/store/re_types/src/archetypes/depth_image.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -254,9 +254,9 @@ impl ::re_types_core::Archetype for DepthImage { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: DepthImageIndicator = DepthImageIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + DepthImageIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -330,7 +330,7 @@ impl ::re_types_core::AsComponents for DepthImage { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.buffer.clone(), self.format.clone(), self.meter.clone(), @@ -448,9 +448,12 @@ impl DepthImage { .map(|draw_order| draw_order.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/ellipsoids3d.rs b/crates/store/re_types/src/archetypes/ellipsoids3d.rs index 4a8a434469ea..08ab7a96c907 100644 --- a/crates/store/re_types/src/archetypes/ellipsoids3d.rs +++ b/crates/store/re_types/src/archetypes/ellipsoids3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -301,9 +301,9 @@ impl ::re_types_core::Archetype for Ellipsoids3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Ellipsoids3DIndicator = Ellipsoids3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Ellipsoids3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -400,7 +400,7 @@ impl ::re_types_core::AsComponents for Ellipsoids3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.half_sizes.clone(), self.centers.clone(), self.rotation_axis_angles.clone(), @@ -544,9 +544,12 @@ impl Ellipsoids3D { .map(|class_ids| class_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/encoded_image.rs b/crates/store/re_types/src/archetypes/encoded_image.rs index 7e09ca71787c..07a3321613e0 100644 --- a/crates/store/re_types/src/archetypes/encoded_image.rs +++ b/crates/store/re_types/src/archetypes/encoded_image.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -170,9 +170,9 @@ impl ::re_types_core::Archetype for EncodedImage { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: EncodedImageIndicator = EncodedImageIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + EncodedImageIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -232,7 +232,7 @@ impl ::re_types_core::AsComponents for EncodedImage { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.blob.clone(), self.media_type.clone(), self.opacity.clone(), @@ -320,9 +320,12 @@ impl EncodedImage { .map(|draw_order| draw_order.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/geo_line_strings.rs b/crates/store/re_types/src/archetypes/geo_line_strings.rs index d1d161167f57..72c6e1bea7ca 100644 --- a/crates/store/re_types/src/archetypes/geo_line_strings.rs +++ b/crates/store/re_types/src/archetypes/geo_line_strings.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -158,9 +158,9 @@ impl ::re_types_core::Archetype for GeoLineStrings { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: GeoLineStringsIndicator = GeoLineStringsIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + GeoLineStringsIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -214,7 +214,7 @@ impl ::re_types_core::AsComponents for GeoLineStrings { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.line_strings.clone(), self.radii.clone(), self.colors.clone(), @@ -295,9 +295,12 @@ impl GeoLineStrings { .map(|colors| colors.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/geo_points.rs b/crates/store/re_types/src/archetypes/geo_points.rs index 53e6aa5b55a6..bd4dd0d76586 100644 --- a/crates/store/re_types/src/archetypes/geo_points.rs +++ b/crates/store/re_types/src/archetypes/geo_points.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -165,9 +165,9 @@ impl ::re_types_core::Archetype for GeoPoints { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: GeoPointsIndicator = GeoPointsIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + GeoPointsIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -227,7 +227,7 @@ impl ::re_types_core::AsComponents for GeoPoints { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.positions.clone(), self.radii.clone(), self.colors.clone(), @@ -317,9 +317,12 @@ impl GeoPoints { .map(|class_ids| class_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/graph_edges.rs b/crates/store/re_types/src/archetypes/graph_edges.rs index d95604aad6ea..e884a59d97a6 100644 --- a/crates/store/re_types/src/archetypes/graph_edges.rs +++ b/crates/store/re_types/src/archetypes/graph_edges.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -139,9 +139,9 @@ impl ::re_types_core::Archetype for GraphEdges { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: GraphEdgesIndicator = GraphEdgesIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + GraphEdgesIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -188,7 +188,7 @@ impl ::re_types_core::AsComponents for GraphEdges { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.edges.clone(), self.graph_type.clone(), ] @@ -258,9 +258,12 @@ impl GraphEdges { .map(|graph_type| graph_type.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/graph_nodes.rs b/crates/store/re_types/src/archetypes/graph_nodes.rs index c4fb5fc2559b..c31e12399ea0 100644 --- a/crates/store/re_types/src/archetypes/graph_nodes.rs +++ b/crates/store/re_types/src/archetypes/graph_nodes.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -194,9 +194,9 @@ impl ::re_types_core::Archetype for GraphNodes { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: GraphNodesIndicator = GraphNodesIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + GraphNodesIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -264,7 +264,7 @@ impl ::re_types_core::AsComponents for GraphNodes { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.node_ids.clone(), self.positions.clone(), self.colors.clone(), @@ -372,9 +372,12 @@ impl GraphNodes { .map(|radii| radii.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/image.rs b/crates/store/re_types/src/archetypes/image.rs index d79223345513..fdd684410c87 100644 --- a/crates/store/re_types/src/archetypes/image.rs +++ b/crates/store/re_types/src/archetypes/image.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -239,9 +239,9 @@ impl ::re_types_core::Archetype for Image { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ImageIndicator = ImageIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ImageIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -299,7 +299,7 @@ impl ::re_types_core::AsComponents for Image { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.buffer.clone(), self.format.clone(), self.opacity.clone(), @@ -390,9 +390,12 @@ impl Image { .map(|draw_order| draw_order.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/instance_poses3d.rs b/crates/store/re_types/src/archetypes/instance_poses3d.rs index 8b555d2e12a3..2a6eaef925a9 100644 --- a/crates/store/re_types/src/archetypes/instance_poses3d.rs +++ b/crates/store/re_types/src/archetypes/instance_poses3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -221,9 +221,9 @@ impl ::re_types_core::Archetype for InstancePoses3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: InstancePoses3DIndicator = InstancePoses3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + InstancePoses3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -292,7 +292,7 @@ impl ::re_types_core::AsComponents for InstancePoses3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.translations.clone(), self.rotation_axis_angles.clone(), self.quaternions.clone(), @@ -389,9 +389,12 @@ impl InstancePoses3D { .map(|mat3x3| mat3x3.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/line_strips2d.rs b/crates/store/re_types/src/archetypes/line_strips2d.rs index 71e22fdca319..02aa8e385c6c 100644 --- a/crates/store/re_types/src/archetypes/line_strips2d.rs +++ b/crates/store/re_types/src/archetypes/line_strips2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -256,9 +256,9 @@ impl ::re_types_core::Archetype for LineStrips2D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: LineStrips2DIndicator = LineStrips2DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + LineStrips2DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -332,7 +332,7 @@ impl ::re_types_core::AsComponents for LineStrips2D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.strips.clone(), self.radii.clone(), self.colors.clone(), @@ -449,9 +449,12 @@ impl LineStrips2D { .map(|class_ids| class_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/line_strips3d.rs b/crates/store/re_types/src/archetypes/line_strips3d.rs index 90acec81d27d..2d422eb12d5c 100644 --- a/crates/store/re_types/src/archetypes/line_strips3d.rs +++ b/crates/store/re_types/src/archetypes/line_strips3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -252,9 +252,9 @@ impl ::re_types_core::Archetype for LineStrips3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: LineStrips3DIndicator = LineStrips3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + LineStrips3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -322,7 +322,7 @@ impl ::re_types_core::AsComponents for LineStrips3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.strips.clone(), self.radii.clone(), self.colors.clone(), @@ -430,9 +430,12 @@ impl LineStrips3D { .map(|class_ids| class_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/mesh3d.rs b/crates/store/re_types/src/archetypes/mesh3d.rs index 2d29473ea15b..311466824b9e 100644 --- a/crates/store/re_types/src/archetypes/mesh3d.rs +++ b/crates/store/re_types/src/archetypes/mesh3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -309,9 +309,9 @@ impl ::re_types_core::Archetype for Mesh3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Mesh3DIndicator = Mesh3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Mesh3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -411,7 +411,7 @@ impl ::re_types_core::AsComponents for Mesh3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.vertex_positions.clone(), self.triangle_indices.clone(), self.vertex_normals.clone(), @@ -549,9 +549,12 @@ impl Mesh3D { .map(|class_ids| class_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/pinhole.rs b/crates/store/re_types/src/archetypes/pinhole.rs index bba51d6454bb..0fd62f78ab67 100644 --- a/crates/store/re_types/src/archetypes/pinhole.rs +++ b/crates/store/re_types/src/archetypes/pinhole.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -240,9 +240,9 @@ impl ::re_types_core::Archetype for Pinhole { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: PinholeIndicator = PinholeIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + PinholeIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -309,7 +309,7 @@ impl ::re_types_core::AsComponents for Pinhole { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.image_from_camera.clone(), self.resolution.clone(), self.camera_xyz.clone(), @@ -400,9 +400,12 @@ impl Pinhole { .map(|image_plane_distance| image_plane_distance.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/points2d.rs b/crates/store/re_types/src/archetypes/points2d.rs index d87a3e6492e7..781d412a177c 100644 --- a/crates/store/re_types/src/archetypes/points2d.rs +++ b/crates/store/re_types/src/archetypes/points2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -289,9 +289,9 @@ impl ::re_types_core::Archetype for Points2D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Points2DIndicator = Points2DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Points2DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -373,7 +373,7 @@ impl ::re_types_core::AsComponents for Points2D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.positions.clone(), self.radii.clone(), self.colors.clone(), @@ -499,9 +499,12 @@ impl Points2D { .map(|keypoint_ids| keypoint_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/points3d.rs b/crates/store/re_types/src/archetypes/points3d.rs index 57f9fd59cb7a..c0c8e5fdccd0 100644 --- a/crates/store/re_types/src/archetypes/points3d.rs +++ b/crates/store/re_types/src/archetypes/points3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -317,9 +317,9 @@ impl ::re_types_core::Archetype for Points3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Points3DIndicator = Points3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Points3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -395,7 +395,7 @@ impl ::re_types_core::AsComponents for Points3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.positions.clone(), self.radii.clone(), self.colors.clone(), @@ -512,9 +512,12 @@ impl Points3D { .map(|keypoint_ids| keypoint_ids.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/scalar.rs b/crates/store/re_types/src/archetypes/scalar.rs index 9812ab5f8c6a..7ed63c34b3ed 100644 --- a/crates/store/re_types/src/archetypes/scalar.rs +++ b/crates/store/re_types/src/archetypes/scalar.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -148,9 +148,9 @@ impl ::re_types_core::Archetype for Scalar { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ScalarIndicator = ScalarIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ScalarIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -191,7 +191,7 @@ impl ::re_types_core::AsComponents for Scalar { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.scalar.clone()] + [Some(Self::indicator()), self.scalar.clone()] .into_iter() .flatten() .collect() @@ -249,9 +249,12 @@ impl Scalar { .scalar .map(|scalar| scalar.partitioned(_lengths.clone())) .transpose()?]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/segmentation_image.rs b/crates/store/re_types/src/archetypes/segmentation_image.rs index d8ac15cac0e8..4f5df593df8b 100644 --- a/crates/store/re_types/src/archetypes/segmentation_image.rs +++ b/crates/store/re_types/src/archetypes/segmentation_image.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -187,9 +187,9 @@ impl ::re_types_core::Archetype for SegmentationImage { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: SegmentationImageIndicator = SegmentationImageIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + SegmentationImageIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -247,7 +247,7 @@ impl ::re_types_core::AsComponents for SegmentationImage { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.buffer.clone(), self.format.clone(), self.opacity.clone(), @@ -338,9 +338,12 @@ impl SegmentationImage { .map(|draw_order| draw_order.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/series_line.rs b/crates/store/re_types/src/archetypes/series_line.rs index b11c4d3e8115..dcc52534c9a0 100644 --- a/crates/store/re_types/src/archetypes/series_line.rs +++ b/crates/store/re_types/src/archetypes/series_line.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -191,9 +191,9 @@ impl ::re_types_core::Archetype for SeriesLine { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: SeriesLineIndicator = SeriesLineIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + SeriesLineIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -251,7 +251,7 @@ impl ::re_types_core::AsComponents for SeriesLine { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.color.clone(), self.width.clone(), self.name.clone(), @@ -339,9 +339,12 @@ impl SeriesLine { .map(|aggregation_policy| aggregation_policy.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/series_point.rs b/crates/store/re_types/src/archetypes/series_point.rs index a4bac5c9a415..36dd64e8d00f 100644 --- a/crates/store/re_types/src/archetypes/series_point.rs +++ b/crates/store/re_types/src/archetypes/series_point.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -189,9 +189,9 @@ impl ::re_types_core::Archetype for SeriesPoint { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: SeriesPointIndicator = SeriesPointIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + SeriesPointIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -249,7 +249,7 @@ impl ::re_types_core::AsComponents for SeriesPoint { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.color.clone(), self.marker.clone(), self.name.clone(), @@ -337,9 +337,12 @@ impl SeriesPoint { .map(|marker_size| marker_size.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/tensor.rs b/crates/store/re_types/src/archetypes/tensor.rs index 3dcade4ddbf4..9b6c8800fc9a 100644 --- a/crates/store/re_types/src/archetypes/tensor.rs +++ b/crates/store/re_types/src/archetypes/tensor.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -139,9 +139,9 @@ impl ::re_types_core::Archetype for Tensor { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: TensorIndicator = TensorIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + TensorIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -188,7 +188,7 @@ impl ::re_types_core::AsComponents for Tensor { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.data.clone(), self.value_range.clone(), ] @@ -258,9 +258,12 @@ impl Tensor { .map(|value_range| value_range.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/text_document.rs b/crates/store/re_types/src/archetypes/text_document.rs index 20c17b50a235..2a3ff730c2bc 100644 --- a/crates/store/re_types/src/archetypes/text_document.rs +++ b/crates/store/re_types/src/archetypes/text_document.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -174,9 +174,9 @@ impl ::re_types_core::Archetype for TextDocument { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: TextDocumentIndicator = TextDocumentIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + TextDocumentIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -223,7 +223,7 @@ impl ::re_types_core::AsComponents for TextDocument { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.text.clone(), self.media_type.clone(), ] @@ -293,9 +293,12 @@ impl TextDocument { .map(|media_type| media_type.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/text_log.rs b/crates/store/re_types/src/archetypes/text_log.rs index 46760042aed4..8486d60d5cb9 100644 --- a/crates/store/re_types/src/archetypes/text_log.rs +++ b/crates/store/re_types/src/archetypes/text_log.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -155,9 +155,9 @@ impl ::re_types_core::Archetype for TextLog { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: TextLogIndicator = TextLogIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + TextLogIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -205,7 +205,7 @@ impl ::re_types_core::AsComponents for TextLog { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.text.clone(), self.level.clone(), self.color.clone(), @@ -284,9 +284,12 @@ impl TextLog { .map(|color| color.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/transform3d.rs b/crates/store/re_types/src/archetypes/transform3d.rs index 05750fd71694..b6cb933da87a 100644 --- a/crates/store/re_types/src/archetypes/transform3d.rs +++ b/crates/store/re_types/src/archetypes/transform3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -330,9 +330,9 @@ impl ::re_types_core::Archetype for Transform3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: Transform3DIndicator = Transform3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + Transform3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -408,7 +408,7 @@ impl ::re_types_core::AsComponents for Transform3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.translation.clone(), self.rotation_axis_angle.clone(), self.quaternion.clone(), @@ -509,9 +509,12 @@ impl Transform3D { .map(|axis_length| axis_length.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/video_frame_reference.rs b/crates/store/re_types/src/archetypes/video_frame_reference.rs index ba333b4b89d9..4e154d01dd3d 100644 --- a/crates/store/re_types/src/archetypes/video_frame_reference.rs +++ b/crates/store/re_types/src/archetypes/video_frame_reference.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -218,9 +218,9 @@ impl ::re_types_core::Archetype for VideoFrameReference { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: VideoFrameReferenceIndicator = VideoFrameReferenceIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + VideoFrameReferenceIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -272,7 +272,7 @@ impl ::re_types_core::AsComponents for VideoFrameReference { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.timestamp.clone(), self.video_reference.clone(), ] @@ -342,9 +342,12 @@ impl VideoFrameReference { .map(|video_reference| video_reference.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/archetypes/view_coordinates.rs b/crates/store/re_types/src/archetypes/view_coordinates.rs index 49611969a09d..73be7adb786f 100644 --- a/crates/store/re_types/src/archetypes/view_coordinates.rs +++ b/crates/store/re_types/src/archetypes/view_coordinates.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -127,9 +127,9 @@ impl ::re_types_core::Archetype for ViewCoordinates { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ViewCoordinatesIndicator = ViewCoordinatesIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ViewCoordinatesIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -170,7 +170,7 @@ impl ::re_types_core::AsComponents for ViewCoordinates { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.xyz.clone()] + [Some(Self::indicator()), self.xyz.clone()] .into_iter() .flatten() .collect() @@ -228,9 +228,12 @@ impl ViewCoordinates { .xyz .map(|xyz| xyz.partitioned(_lengths.clone())) .transpose()?]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/blueprint/archetypes/background.rs b/crates/store/re_types/src/blueprint/archetypes/background.rs index edb3d0f3287d..65f8e845b3dd 100644 --- a/crates/store/re_types/src/blueprint/archetypes/background.rs +++ b/crates/store/re_types/src/blueprint/archetypes/background.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -100,9 +100,9 @@ impl ::re_types_core::Archetype for Background { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: BackgroundIndicator = BackgroundIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + BackgroundIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -147,7 +147,7 @@ impl ::re_types_core::AsComponents for Background { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.kind.clone(), self.color.clone(), ] diff --git a/crates/store/re_types/src/blueprint/archetypes/container_blueprint.rs b/crates/store/re_types/src/blueprint/archetypes/container_blueprint.rs index a24484a27736..dabf3d20a6ce 100644 --- a/crates/store/re_types/src/blueprint/archetypes/container_blueprint.rs +++ b/crates/store/re_types/src/blueprint/archetypes/container_blueprint.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -211,9 +211,9 @@ impl ::re_types_core::Archetype for ContainerBlueprint { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ContainerBlueprintIndicator = ContainerBlueprintIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ContainerBlueprintIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -297,7 +297,7 @@ impl ::re_types_core::AsComponents for ContainerBlueprint { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.container_kind.clone(), self.display_name.clone(), self.contents.clone(), diff --git a/crates/store/re_types/src/blueprint/archetypes/dataframe_query.rs b/crates/store/re_types/src/blueprint/archetypes/dataframe_query.rs index ec77a32087d3..ea3632ac58f8 100644 --- a/crates/store/re_types/src/blueprint/archetypes/dataframe_query.rs +++ b/crates/store/re_types/src/blueprint/archetypes/dataframe_query.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -154,9 +154,9 @@ impl ::re_types_core::Archetype for DataframeQuery { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: DataframeQueryIndicator = DataframeQueryIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + DataframeQueryIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -222,7 +222,7 @@ impl ::re_types_core::AsComponents for DataframeQuery { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.timeline.clone(), self.filter_by_range.clone(), self.filter_is_not_null.clone(), diff --git a/crates/store/re_types/src/blueprint/archetypes/force_center.rs b/crates/store/re_types/src/blueprint/archetypes/force_center.rs index 7b59245112c9..0abf50015b41 100644 --- a/crates/store/re_types/src/blueprint/archetypes/force_center.rs +++ b/crates/store/re_types/src/blueprint/archetypes/force_center.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -107,9 +107,9 @@ impl ::re_types_core::Archetype for ForceCenter { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ForceCenterIndicator = ForceCenterIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ForceCenterIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -154,7 +154,7 @@ impl ::re_types_core::AsComponents for ForceCenter { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.enabled.clone(), self.strength.clone(), ] diff --git a/crates/store/re_types/src/blueprint/archetypes/force_collision_radius.rs b/crates/store/re_types/src/blueprint/archetypes/force_collision_radius.rs index 227da89c2eca..996a3beafd67 100644 --- a/crates/store/re_types/src/blueprint/archetypes/force_collision_radius.rs +++ b/crates/store/re_types/src/blueprint/archetypes/force_collision_radius.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -125,9 +125,9 @@ impl ::re_types_core::Archetype for ForceCollisionRadius { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ForceCollisionRadiusIndicator = ForceCollisionRadiusIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ForceCollisionRadiusIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -181,7 +181,7 @@ impl ::re_types_core::AsComponents for ForceCollisionRadius { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.enabled.clone(), self.strength.clone(), self.iterations.clone(), diff --git a/crates/store/re_types/src/blueprint/archetypes/force_link.rs b/crates/store/re_types/src/blueprint/archetypes/force_link.rs index b2b5dd1d045e..9a5bc56db4c7 100644 --- a/crates/store/re_types/src/blueprint/archetypes/force_link.rs +++ b/crates/store/re_types/src/blueprint/archetypes/force_link.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -124,9 +124,9 @@ impl ::re_types_core::Archetype for ForceLink { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ForceLinkIndicator = ForceLinkIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ForceLinkIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -180,7 +180,7 @@ impl ::re_types_core::AsComponents for ForceLink { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.enabled.clone(), self.distance.clone(), self.iterations.clone(), diff --git a/crates/store/re_types/src/blueprint/archetypes/force_many_body.rs b/crates/store/re_types/src/blueprint/archetypes/force_many_body.rs index 399a1e0c98e4..f9329cbc2ffc 100644 --- a/crates/store/re_types/src/blueprint/archetypes/force_many_body.rs +++ b/crates/store/re_types/src/blueprint/archetypes/force_many_body.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -112,9 +112,9 @@ impl ::re_types_core::Archetype for ForceManyBody { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ForceManyBodyIndicator = ForceManyBodyIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ForceManyBodyIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -159,7 +159,7 @@ impl ::re_types_core::AsComponents for ForceManyBody { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.enabled.clone(), self.strength.clone(), ] diff --git a/crates/store/re_types/src/blueprint/archetypes/force_position.rs b/crates/store/re_types/src/blueprint/archetypes/force_position.rs index ad4a4d3360f0..9af664abb1dd 100644 --- a/crates/store/re_types/src/blueprint/archetypes/force_position.rs +++ b/crates/store/re_types/src/blueprint/archetypes/force_position.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -122,9 +122,9 @@ impl ::re_types_core::Archetype for ForcePosition { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ForcePositionIndicator = ForcePositionIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ForcePositionIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -176,7 +176,7 @@ impl ::re_types_core::AsComponents for ForcePosition { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.enabled.clone(), self.strength.clone(), self.position.clone(), diff --git a/crates/store/re_types/src/blueprint/archetypes/line_grid3d.rs b/crates/store/re_types/src/blueprint/archetypes/line_grid3d.rs index e9d5a7582e8a..d6dacdb36c47 100644 --- a/crates/store/re_types/src/blueprint/archetypes/line_grid3d.rs +++ b/crates/store/re_types/src/blueprint/archetypes/line_grid3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -162,9 +162,9 @@ impl ::re_types_core::Archetype for LineGrid3D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: LineGrid3DIndicator = LineGrid3DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + LineGrid3DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -226,7 +226,7 @@ impl ::re_types_core::AsComponents for LineGrid3D { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.visible.clone(), self.spacing.clone(), self.plane.clone(), diff --git a/crates/store/re_types/src/blueprint/archetypes/map_background.rs b/crates/store/re_types/src/blueprint/archetypes/map_background.rs index dd19b53673ae..4debe30e4f19 100644 --- a/crates/store/re_types/src/blueprint/archetypes/map_background.rs +++ b/crates/store/re_types/src/blueprint/archetypes/map_background.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -88,9 +88,9 @@ impl ::re_types_core::Archetype for MapBackground { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: MapBackgroundIndicator = MapBackgroundIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + MapBackgroundIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -131,7 +131,7 @@ impl ::re_types_core::AsComponents for MapBackground { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.provider.clone()] + [Some(Self::indicator()), self.provider.clone()] .into_iter() .flatten() .collect() diff --git a/crates/store/re_types/src/blueprint/archetypes/map_zoom.rs b/crates/store/re_types/src/blueprint/archetypes/map_zoom.rs index 5f8ac2714640..05ddbb94fb6c 100644 --- a/crates/store/re_types/src/blueprint/archetypes/map_zoom.rs +++ b/crates/store/re_types/src/blueprint/archetypes/map_zoom.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -83,9 +83,9 @@ impl ::re_types_core::Archetype for MapZoom { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: MapZoomIndicator = MapZoomIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + MapZoomIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -126,7 +126,7 @@ impl ::re_types_core::AsComponents for MapZoom { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.zoom.clone()] + [Some(Self::indicator()), self.zoom.clone()] .into_iter() .flatten() .collect() diff --git a/crates/store/re_types/src/blueprint/archetypes/near_clip_plane.rs b/crates/store/re_types/src/blueprint/archetypes/near_clip_plane.rs index 8aa5043ad643..e7ec2923170f 100644 --- a/crates/store/re_types/src/blueprint/archetypes/near_clip_plane.rs +++ b/crates/store/re_types/src/blueprint/archetypes/near_clip_plane.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -88,9 +88,9 @@ impl ::re_types_core::Archetype for NearClipPlane { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: NearClipPlaneIndicator = NearClipPlaneIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + NearClipPlaneIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -133,7 +133,7 @@ impl ::re_types_core::AsComponents for NearClipPlane { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.near_clip_plane.clone()] + [Some(Self::indicator()), self.near_clip_plane.clone()] .into_iter() .flatten() .collect() diff --git a/crates/store/re_types/src/blueprint/archetypes/panel_blueprint.rs b/crates/store/re_types/src/blueprint/archetypes/panel_blueprint.rs index 8453243f90fe..2cf4acb73bcb 100644 --- a/crates/store/re_types/src/blueprint/archetypes/panel_blueprint.rs +++ b/crates/store/re_types/src/blueprint/archetypes/panel_blueprint.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -86,9 +86,9 @@ impl ::re_types_core::Archetype for PanelBlueprint { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: PanelBlueprintIndicator = PanelBlueprintIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + PanelBlueprintIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -129,7 +129,7 @@ impl ::re_types_core::AsComponents for PanelBlueprint { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.state.clone()] + [Some(Self::indicator()), self.state.clone()] .into_iter() .flatten() .collect() diff --git a/crates/store/re_types/src/blueprint/archetypes/plot_legend.rs b/crates/store/re_types/src/blueprint/archetypes/plot_legend.rs index 1182b1644874..f4887e9cc665 100644 --- a/crates/store/re_types/src/blueprint/archetypes/plot_legend.rs +++ b/crates/store/re_types/src/blueprint/archetypes/plot_legend.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -109,9 +109,9 @@ impl ::re_types_core::Archetype for PlotLegend { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: PlotLegendIndicator = PlotLegendIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + PlotLegendIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -156,7 +156,7 @@ impl ::re_types_core::AsComponents for PlotLegend { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.corner.clone(), self.visible.clone(), ] diff --git a/crates/store/re_types/src/blueprint/archetypes/scalar_axis.rs b/crates/store/re_types/src/blueprint/archetypes/scalar_axis.rs index 506b26ba017d..28adf811e2f8 100644 --- a/crates/store/re_types/src/blueprint/archetypes/scalar_axis.rs +++ b/crates/store/re_types/src/blueprint/archetypes/scalar_axis.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -107,9 +107,9 @@ impl ::re_types_core::Archetype for ScalarAxis { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ScalarAxisIndicator = ScalarAxisIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ScalarAxisIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -156,7 +156,7 @@ impl ::re_types_core::AsComponents for ScalarAxis { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.range.clone(), self.zoom_lock.clone(), ] diff --git a/crates/store/re_types/src/blueprint/archetypes/tensor_scalar_mapping.rs b/crates/store/re_types/src/blueprint/archetypes/tensor_scalar_mapping.rs index dc2e34caa03d..11e2b72a182a 100644 --- a/crates/store/re_types/src/blueprint/archetypes/tensor_scalar_mapping.rs +++ b/crates/store/re_types/src/blueprint/archetypes/tensor_scalar_mapping.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -129,9 +129,9 @@ impl ::re_types_core::Archetype for TensorScalarMapping { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: TensorScalarMappingIndicator = TensorScalarMappingIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + TensorScalarMappingIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -185,7 +185,7 @@ impl ::re_types_core::AsComponents for TensorScalarMapping { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.mag_filter.clone(), self.colormap.clone(), self.gamma.clone(), diff --git a/crates/store/re_types/src/blueprint/archetypes/tensor_slice_selection.rs b/crates/store/re_types/src/blueprint/archetypes/tensor_slice_selection.rs index 60ef51ce0bb4..3aa2104c64d4 100644 --- a/crates/store/re_types/src/blueprint/archetypes/tensor_slice_selection.rs +++ b/crates/store/re_types/src/blueprint/archetypes/tensor_slice_selection.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -146,9 +146,9 @@ impl ::re_types_core::Archetype for TensorSliceSelection { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: TensorSliceSelectionIndicator = TensorSliceSelectionIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + TensorSliceSelectionIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -204,7 +204,7 @@ impl ::re_types_core::AsComponents for TensorSliceSelection { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.width.clone(), self.height.clone(), self.indices.clone(), diff --git a/crates/store/re_types/src/blueprint/archetypes/tensor_view_fit.rs b/crates/store/re_types/src/blueprint/archetypes/tensor_view_fit.rs index ef0938daa70a..95092002e6dd 100644 --- a/crates/store/re_types/src/blueprint/archetypes/tensor_view_fit.rs +++ b/crates/store/re_types/src/blueprint/archetypes/tensor_view_fit.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -86,9 +86,9 @@ impl ::re_types_core::Archetype for TensorViewFit { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: TensorViewFitIndicator = TensorViewFitIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + TensorViewFitIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -129,7 +129,7 @@ impl ::re_types_core::AsComponents for TensorViewFit { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.scaling.clone()] + [Some(Self::indicator()), self.scaling.clone()] .into_iter() .flatten() .collect() diff --git a/crates/store/re_types/src/blueprint/archetypes/view_blueprint.rs b/crates/store/re_types/src/blueprint/archetypes/view_blueprint.rs index 21530cc8f904..86ad19c462f4 100644 --- a/crates/store/re_types/src/blueprint/archetypes/view_blueprint.rs +++ b/crates/store/re_types/src/blueprint/archetypes/view_blueprint.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -142,9 +142,9 @@ impl ::re_types_core::Archetype for ViewBlueprint { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ViewBlueprintIndicator = ViewBlueprintIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ViewBlueprintIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -206,7 +206,7 @@ impl ::re_types_core::AsComponents for ViewBlueprint { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.class_identifier.clone(), self.display_name.clone(), self.space_origin.clone(), diff --git a/crates/store/re_types/src/blueprint/archetypes/view_contents.rs b/crates/store/re_types/src/blueprint/archetypes/view_contents.rs index 1a767693fe74..31aa8cb92a72 100644 --- a/crates/store/re_types/src/blueprint/archetypes/view_contents.rs +++ b/crates/store/re_types/src/blueprint/archetypes/view_contents.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -125,9 +125,9 @@ impl ::re_types_core::Archetype for ViewContents { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ViewContentsIndicator = ViewContentsIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ViewContentsIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -168,7 +168,7 @@ impl ::re_types_core::AsComponents for ViewContents { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.query.clone()] + [Some(Self::indicator()), self.query.clone()] .into_iter() .flatten() .collect() diff --git a/crates/store/re_types/src/blueprint/archetypes/viewport_blueprint.rs b/crates/store/re_types/src/blueprint/archetypes/viewport_blueprint.rs index cd2b1d05ee0c..adab8ee8d0d4 100644 --- a/crates/store/re_types/src/blueprint/archetypes/viewport_blueprint.rs +++ b/crates/store/re_types/src/blueprint/archetypes/viewport_blueprint.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -162,9 +162,9 @@ impl ::re_types_core::Archetype for ViewportBlueprint { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ViewportBlueprintIndicator = ViewportBlueprintIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ViewportBlueprintIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -237,7 +237,7 @@ impl ::re_types_core::AsComponents for ViewportBlueprint { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.root_container.clone(), self.maximized.clone(), self.auto_layout.clone(), diff --git a/crates/store/re_types/src/blueprint/archetypes/visible_time_ranges.rs b/crates/store/re_types/src/blueprint/archetypes/visible_time_ranges.rs index e55280213b66..9fee57b8e667 100644 --- a/crates/store/re_types/src/blueprint/archetypes/visible_time_ranges.rs +++ b/crates/store/re_types/src/blueprint/archetypes/visible_time_ranges.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -96,9 +96,9 @@ impl ::re_types_core::Archetype for VisibleTimeRanges { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: VisibleTimeRangesIndicator = VisibleTimeRangesIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + VisibleTimeRangesIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -139,7 +139,7 @@ impl ::re_types_core::AsComponents for VisibleTimeRanges { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.ranges.clone()] + [Some(Self::indicator()), self.ranges.clone()] .into_iter() .flatten() .collect() diff --git a/crates/store/re_types/src/blueprint/archetypes/visual_bounds2d.rs b/crates/store/re_types/src/blueprint/archetypes/visual_bounds2d.rs index 6efa80af2144..cbc4537d2f75 100644 --- a/crates/store/re_types/src/blueprint/archetypes/visual_bounds2d.rs +++ b/crates/store/re_types/src/blueprint/archetypes/visual_bounds2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -94,9 +94,9 @@ impl ::re_types_core::Archetype for VisualBounds2D { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: VisualBounds2DIndicator = VisualBounds2DIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + VisualBounds2DIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -137,7 +137,7 @@ impl ::re_types_core::AsComponents for VisualBounds2D { #[inline] fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; - [Self::indicator().serialized(), self.range.clone()] + [Some(Self::indicator()), self.range.clone()] .into_iter() .flatten() .collect() diff --git a/crates/store/re_types/src/blueprint/components/active_tab.rs b/crates/store/re_types/src/blueprint/components/active_tab.rs index a81edd2c1550..3ea11f329ba9 100644 --- a/crates/store/re_types/src/blueprint/components/active_tab.rs +++ b/crates/store/re_types/src/blueprint/components/active_tab.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/apply_latest_at.rs b/crates/store/re_types/src/blueprint/components/apply_latest_at.rs index 3e58e4cc361b..d263ea194f3b 100644 --- a/crates/store/re_types/src/blueprint/components/apply_latest_at.rs +++ b/crates/store/re_types/src/blueprint/components/apply_latest_at.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/auto_layout.rs b/crates/store/re_types/src/blueprint/components/auto_layout.rs index ee60dab85c20..376d0e9bce8d 100644 --- a/crates/store/re_types/src/blueprint/components/auto_layout.rs +++ b/crates/store/re_types/src/blueprint/components/auto_layout.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/auto_views.rs b/crates/store/re_types/src/blueprint/components/auto_views.rs index aaec370975f7..ac0331a5c9bd 100644 --- a/crates/store/re_types/src/blueprint/components/auto_views.rs +++ b/crates/store/re_types/src/blueprint/components/auto_views.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/background_kind.rs b/crates/store/re_types/src/blueprint/components/background_kind.rs index 054075dff6c1..f03d3b8d357c 100644 --- a/crates/store/re_types/src/blueprint/components/background_kind.rs +++ b/crates/store/re_types/src/blueprint/components/background_kind.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/column_share.rs b/crates/store/re_types/src/blueprint/components/column_share.rs index 9c69baa20219..227f4b3a37af 100644 --- a/crates/store/re_types/src/blueprint/components/column_share.rs +++ b/crates/store/re_types/src/blueprint/components/column_share.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/component_column_selector.rs b/crates/store/re_types/src/blueprint/components/component_column_selector.rs index 01d2c62c3510..23dc0bcb2f1f 100644 --- a/crates/store/re_types/src/blueprint/components/component_column_selector.rs +++ b/crates/store/re_types/src/blueprint/components/component_column_selector.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/container_kind.rs b/crates/store/re_types/src/blueprint/components/container_kind.rs index 2851a649522f..8575dca39f35 100644 --- a/crates/store/re_types/src/blueprint/components/container_kind.rs +++ b/crates/store/re_types/src/blueprint/components/container_kind.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/corner2d.rs b/crates/store/re_types/src/blueprint/components/corner2d.rs index 81d2daa8b81f..01038c7c15a4 100644 --- a/crates/store/re_types/src/blueprint/components/corner2d.rs +++ b/crates/store/re_types/src/blueprint/components/corner2d.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/enabled.rs b/crates/store/re_types/src/blueprint/components/enabled.rs index c1a1c451b7b1..1d0194071950 100644 --- a/crates/store/re_types/src/blueprint/components/enabled.rs +++ b/crates/store/re_types/src/blueprint/components/enabled.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/filter_by_range.rs b/crates/store/re_types/src/blueprint/components/filter_by_range.rs index 155c6cbaf25c..346e3c2dc9c3 100644 --- a/crates/store/re_types/src/blueprint/components/filter_by_range.rs +++ b/crates/store/re_types/src/blueprint/components/filter_by_range.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/filter_is_not_null.rs b/crates/store/re_types/src/blueprint/components/filter_is_not_null.rs index 032d42d20610..576058776627 100644 --- a/crates/store/re_types/src/blueprint/components/filter_is_not_null.rs +++ b/crates/store/re_types/src/blueprint/components/filter_is_not_null.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/force_distance.rs b/crates/store/re_types/src/blueprint/components/force_distance.rs index 3daf996ac7fc..a9932a16a592 100644 --- a/crates/store/re_types/src/blueprint/components/force_distance.rs +++ b/crates/store/re_types/src/blueprint/components/force_distance.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/force_iterations.rs b/crates/store/re_types/src/blueprint/components/force_iterations.rs index 2eba63afc8f0..2d85f9e7d575 100644 --- a/crates/store/re_types/src/blueprint/components/force_iterations.rs +++ b/crates/store/re_types/src/blueprint/components/force_iterations.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/force_strength.rs b/crates/store/re_types/src/blueprint/components/force_strength.rs index 8411d02f849f..b7826478cf96 100644 --- a/crates/store/re_types/src/blueprint/components/force_strength.rs +++ b/crates/store/re_types/src/blueprint/components/force_strength.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/grid_columns.rs b/crates/store/re_types/src/blueprint/components/grid_columns.rs index f2f634b313f6..2e0320a3c190 100644 --- a/crates/store/re_types/src/blueprint/components/grid_columns.rs +++ b/crates/store/re_types/src/blueprint/components/grid_columns.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/grid_spacing.rs b/crates/store/re_types/src/blueprint/components/grid_spacing.rs index 141f4fc27b5b..a0d2cb3d6cff 100644 --- a/crates/store/re_types/src/blueprint/components/grid_spacing.rs +++ b/crates/store/re_types/src/blueprint/components/grid_spacing.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/included_content.rs b/crates/store/re_types/src/blueprint/components/included_content.rs index 1f75942e0d7e..b1a44078c9b6 100644 --- a/crates/store/re_types/src/blueprint/components/included_content.rs +++ b/crates/store/re_types/src/blueprint/components/included_content.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/interactive.rs b/crates/store/re_types/src/blueprint/components/interactive.rs index cdf7a9d5901e..f4d6a54ace48 100644 --- a/crates/store/re_types/src/blueprint/components/interactive.rs +++ b/crates/store/re_types/src/blueprint/components/interactive.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/lock_range_during_zoom.rs b/crates/store/re_types/src/blueprint/components/lock_range_during_zoom.rs index eb96ac39b8a5..0a1ad3522f6b 100644 --- a/crates/store/re_types/src/blueprint/components/lock_range_during_zoom.rs +++ b/crates/store/re_types/src/blueprint/components/lock_range_during_zoom.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/map_provider.rs b/crates/store/re_types/src/blueprint/components/map_provider.rs index 08a65c4b46a7..d3a83f2b1e36 100644 --- a/crates/store/re_types/src/blueprint/components/map_provider.rs +++ b/crates/store/re_types/src/blueprint/components/map_provider.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/near_clip_plane.rs b/crates/store/re_types/src/blueprint/components/near_clip_plane.rs index 6b5e77a57289..f18821f84682 100644 --- a/crates/store/re_types/src/blueprint/components/near_clip_plane.rs +++ b/crates/store/re_types/src/blueprint/components/near_clip_plane.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/panel_state.rs b/crates/store/re_types/src/blueprint/components/panel_state.rs index e918f1f3098b..eff28514ebb8 100644 --- a/crates/store/re_types/src/blueprint/components/panel_state.rs +++ b/crates/store/re_types/src/blueprint/components/panel_state.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/query_expression.rs b/crates/store/re_types/src/blueprint/components/query_expression.rs index 8aba7241f6a6..c5548ac7ba60 100644 --- a/crates/store/re_types/src/blueprint/components/query_expression.rs +++ b/crates/store/re_types/src/blueprint/components/query_expression.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/root_container.rs b/crates/store/re_types/src/blueprint/components/root_container.rs index f7fbe5fcfdb6..dc508b94ddb8 100644 --- a/crates/store/re_types/src/blueprint/components/root_container.rs +++ b/crates/store/re_types/src/blueprint/components/root_container.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/row_share.rs b/crates/store/re_types/src/blueprint/components/row_share.rs index c1bbf8bb310b..01aff57a7952 100644 --- a/crates/store/re_types/src/blueprint/components/row_share.rs +++ b/crates/store/re_types/src/blueprint/components/row_share.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/selected_columns.rs b/crates/store/re_types/src/blueprint/components/selected_columns.rs index 6c080b410bd4..bd3a58ab22bb 100644 --- a/crates/store/re_types/src/blueprint/components/selected_columns.rs +++ b/crates/store/re_types/src/blueprint/components/selected_columns.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/tensor_dimension_index_slider.rs b/crates/store/re_types/src/blueprint/components/tensor_dimension_index_slider.rs index 91aee85a6997..695cfa719cee 100644 --- a/crates/store/re_types/src/blueprint/components/tensor_dimension_index_slider.rs +++ b/crates/store/re_types/src/blueprint/components/tensor_dimension_index_slider.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/timeline_name.rs b/crates/store/re_types/src/blueprint/components/timeline_name.rs index 8b2e3ccbac73..2edd12f5bc36 100644 --- a/crates/store/re_types/src/blueprint/components/timeline_name.rs +++ b/crates/store/re_types/src/blueprint/components/timeline_name.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/view_class.rs b/crates/store/re_types/src/blueprint/components/view_class.rs index 659b6728122d..2860077f4f6e 100644 --- a/crates/store/re_types/src/blueprint/components/view_class.rs +++ b/crates/store/re_types/src/blueprint/components/view_class.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/view_fit.rs b/crates/store/re_types/src/blueprint/components/view_fit.rs index 8dd32122f914..72de4902c08c 100644 --- a/crates/store/re_types/src/blueprint/components/view_fit.rs +++ b/crates/store/re_types/src/blueprint/components/view_fit.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/view_maximized.rs b/crates/store/re_types/src/blueprint/components/view_maximized.rs index afd1cdac36e1..f008104f380f 100644 --- a/crates/store/re_types/src/blueprint/components/view_maximized.rs +++ b/crates/store/re_types/src/blueprint/components/view_maximized.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/view_origin.rs b/crates/store/re_types/src/blueprint/components/view_origin.rs index b76c3e642446..f500625d34d3 100644 --- a/crates/store/re_types/src/blueprint/components/view_origin.rs +++ b/crates/store/re_types/src/blueprint/components/view_origin.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/viewer_recommendation_hash.rs b/crates/store/re_types/src/blueprint/components/viewer_recommendation_hash.rs index fbf037b84741..4e8d47da6f61 100644 --- a/crates/store/re_types/src/blueprint/components/viewer_recommendation_hash.rs +++ b/crates/store/re_types/src/blueprint/components/viewer_recommendation_hash.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/visible.rs b/crates/store/re_types/src/blueprint/components/visible.rs index 838565bff5e9..5b587ece4423 100644 --- a/crates/store/re_types/src/blueprint/components/visible.rs +++ b/crates/store/re_types/src/blueprint/components/visible.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/visible_time_range.rs b/crates/store/re_types/src/blueprint/components/visible_time_range.rs index 036036aedc9d..de3e5160b5c7 100644 --- a/crates/store/re_types/src/blueprint/components/visible_time_range.rs +++ b/crates/store/re_types/src/blueprint/components/visible_time_range.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/visual_bounds2d.rs b/crates/store/re_types/src/blueprint/components/visual_bounds2d.rs index d427f36efab9..b7f0ef651de5 100644 --- a/crates/store/re_types/src/blueprint/components/visual_bounds2d.rs +++ b/crates/store/re_types/src/blueprint/components/visual_bounds2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/visualizer_overrides.rs b/crates/store/re_types/src/blueprint/components/visualizer_overrides.rs index eda1fa427e7c..22221e520117 100644 --- a/crates/store/re_types/src/blueprint/components/visualizer_overrides.rs +++ b/crates/store/re_types/src/blueprint/components/visualizer_overrides.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/components/zoom_level.rs b/crates/store/re_types/src/blueprint/components/zoom_level.rs index b1feded6ebc6..e77f9beb5e77 100644 --- a/crates/store/re_types/src/blueprint/components/zoom_level.rs +++ b/crates/store/re_types/src/blueprint/components/zoom_level.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/datatypes/component_column_selector.rs b/crates/store/re_types/src/blueprint/datatypes/component_column_selector.rs index 15257961b4dd..29ee6bdea767 100644 --- a/crates/store/re_types/src/blueprint/datatypes/component_column_selector.rs +++ b/crates/store/re_types/src/blueprint/datatypes/component_column_selector.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/datatypes/filter_by_range.rs b/crates/store/re_types/src/blueprint/datatypes/filter_by_range.rs index 696911a2c8c3..fd3864114880 100644 --- a/crates/store/re_types/src/blueprint/datatypes/filter_by_range.rs +++ b/crates/store/re_types/src/blueprint/datatypes/filter_by_range.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/datatypes/filter_is_not_null.rs b/crates/store/re_types/src/blueprint/datatypes/filter_is_not_null.rs index ac0a5f8e0b38..5caff6e544b8 100644 --- a/crates/store/re_types/src/blueprint/datatypes/filter_is_not_null.rs +++ b/crates/store/re_types/src/blueprint/datatypes/filter_is_not_null.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/datatypes/selected_columns.rs b/crates/store/re_types/src/blueprint/datatypes/selected_columns.rs index db84346e598b..6712d07123bd 100644 --- a/crates/store/re_types/src/blueprint/datatypes/selected_columns.rs +++ b/crates/store/re_types/src/blueprint/datatypes/selected_columns.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/datatypes/tensor_dimension_index_slider.rs b/crates/store/re_types/src/blueprint/datatypes/tensor_dimension_index_slider.rs index d31ecd59ed56..ee5e36cfd9b0 100644 --- a/crates/store/re_types/src/blueprint/datatypes/tensor_dimension_index_slider.rs +++ b/crates/store/re_types/src/blueprint/datatypes/tensor_dimension_index_slider.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/datatypes/utf8list.rs b/crates/store/re_types/src/blueprint/datatypes/utf8list.rs index c8a00d1be0d3..1971c163e676 100644 --- a/crates/store/re_types/src/blueprint/datatypes/utf8list.rs +++ b/crates/store/re_types/src/blueprint/datatypes/utf8list.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/views/bar_chart_view.rs b/crates/store/re_types/src/blueprint/views/bar_chart_view.rs index 29fa957fa493..7953122e2ac4 100644 --- a/crates/store/re_types/src/blueprint/views/bar_chart_view.rs +++ b/crates/store/re_types/src/blueprint/views/bar_chart_view.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/views/dataframe_view.rs b/crates/store/re_types/src/blueprint/views/dataframe_view.rs index 3b71a7d57243..57e71959d871 100644 --- a/crates/store/re_types/src/blueprint/views/dataframe_view.rs +++ b/crates/store/re_types/src/blueprint/views/dataframe_view.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/views/graph_view.rs b/crates/store/re_types/src/blueprint/views/graph_view.rs index 5a99bd126e53..aaf82a894f7b 100644 --- a/crates/store/re_types/src/blueprint/views/graph_view.rs +++ b/crates/store/re_types/src/blueprint/views/graph_view.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/views/map_view.rs b/crates/store/re_types/src/blueprint/views/map_view.rs index cd717be84a04..13e93e6be0e0 100644 --- a/crates/store/re_types/src/blueprint/views/map_view.rs +++ b/crates/store/re_types/src/blueprint/views/map_view.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/views/spatial2d_view.rs b/crates/store/re_types/src/blueprint/views/spatial2d_view.rs index 964d6a4fea08..0c3a1f78c5b3 100644 --- a/crates/store/re_types/src/blueprint/views/spatial2d_view.rs +++ b/crates/store/re_types/src/blueprint/views/spatial2d_view.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/views/spatial3d_view.rs b/crates/store/re_types/src/blueprint/views/spatial3d_view.rs index dd967fb88bc6..0f394ab78ff3 100644 --- a/crates/store/re_types/src/blueprint/views/spatial3d_view.rs +++ b/crates/store/re_types/src/blueprint/views/spatial3d_view.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/views/tensor_view.rs b/crates/store/re_types/src/blueprint/views/tensor_view.rs index 6d75fde69a19..1c00f4e4de19 100644 --- a/crates/store/re_types/src/blueprint/views/tensor_view.rs +++ b/crates/store/re_types/src/blueprint/views/tensor_view.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/views/text_document_view.rs b/crates/store/re_types/src/blueprint/views/text_document_view.rs index a3508ebf9329..5cd96c47dafd 100644 --- a/crates/store/re_types/src/blueprint/views/text_document_view.rs +++ b/crates/store/re_types/src/blueprint/views/text_document_view.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/views/text_log_view.rs b/crates/store/re_types/src/blueprint/views/text_log_view.rs index 2dacea70d743..748e50469c56 100644 --- a/crates/store/re_types/src/blueprint/views/text_log_view.rs +++ b/crates/store/re_types/src/blueprint/views/text_log_view.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/blueprint/views/time_series_view.rs b/crates/store/re_types/src/blueprint/views/time_series_view.rs index 7a718eedf993..310e0df961df 100644 --- a/crates/store/re_types/src/blueprint/views/time_series_view.rs +++ b/crates/store/re_types/src/blueprint/views/time_series_view.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/aggregation_policy.rs b/crates/store/re_types/src/components/aggregation_policy.rs index 19b874a919a0..7b1a138efb85 100644 --- a/crates/store/re_types/src/components/aggregation_policy.rs +++ b/crates/store/re_types/src/components/aggregation_policy.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/albedo_factor.rs b/crates/store/re_types/src/components/albedo_factor.rs index 45cdfd75d53f..f0cb4dbcd0cc 100644 --- a/crates/store/re_types/src/components/albedo_factor.rs +++ b/crates/store/re_types/src/components/albedo_factor.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/annotation_context.rs b/crates/store/re_types/src/components/annotation_context.rs index 31f628218df0..3e7fef65ce89 100644 --- a/crates/store/re_types/src/components/annotation_context.rs +++ b/crates/store/re_types/src/components/annotation_context.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/axis_length.rs b/crates/store/re_types/src/components/axis_length.rs index fb016e17b256..5aaf88578c97 100644 --- a/crates/store/re_types/src/components/axis_length.rs +++ b/crates/store/re_types/src/components/axis_length.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/blob.rs b/crates/store/re_types/src/components/blob.rs index 2148cb941c58..63da3f6bb5c6 100644 --- a/crates/store/re_types/src/components/blob.rs +++ b/crates/store/re_types/src/components/blob.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/class_id.rs b/crates/store/re_types/src/components/class_id.rs index 020f9ed24c64..2378184ed71f 100644 --- a/crates/store/re_types/src/components/class_id.rs +++ b/crates/store/re_types/src/components/class_id.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/color.rs b/crates/store/re_types/src/components/color.rs index 80b1a9d7ba04..5d847a32ef66 100644 --- a/crates/store/re_types/src/components/color.rs +++ b/crates/store/re_types/src/components/color.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/colormap.rs b/crates/store/re_types/src/components/colormap.rs index 969a0f62f7e6..ccfa447492b0 100644 --- a/crates/store/re_types/src/components/colormap.rs +++ b/crates/store/re_types/src/components/colormap.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/depth_meter.rs b/crates/store/re_types/src/components/depth_meter.rs index 6580c390066b..1aae9274c7b6 100644 --- a/crates/store/re_types/src/components/depth_meter.rs +++ b/crates/store/re_types/src/components/depth_meter.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/draw_order.rs b/crates/store/re_types/src/components/draw_order.rs index e699b097b2a3..4a10f5c8b364 100644 --- a/crates/store/re_types/src/components/draw_order.rs +++ b/crates/store/re_types/src/components/draw_order.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/entity_path.rs b/crates/store/re_types/src/components/entity_path.rs index eee07c4c5c86..be5ac7c8b755 100644 --- a/crates/store/re_types/src/components/entity_path.rs +++ b/crates/store/re_types/src/components/entity_path.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/fill_mode.rs b/crates/store/re_types/src/components/fill_mode.rs index ba6f38fa611c..a4eb3429827e 100644 --- a/crates/store/re_types/src/components/fill_mode.rs +++ b/crates/store/re_types/src/components/fill_mode.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/fill_ratio.rs b/crates/store/re_types/src/components/fill_ratio.rs index 8e351a5bac4d..5aed7e721148 100644 --- a/crates/store/re_types/src/components/fill_ratio.rs +++ b/crates/store/re_types/src/components/fill_ratio.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/gamma_correction.rs b/crates/store/re_types/src/components/gamma_correction.rs index 3ee9374feef1..d2c86b8a68fc 100644 --- a/crates/store/re_types/src/components/gamma_correction.rs +++ b/crates/store/re_types/src/components/gamma_correction.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/geo_line_string.rs b/crates/store/re_types/src/components/geo_line_string.rs index f22cd05ee8dc..20f019aa700b 100644 --- a/crates/store/re_types/src/components/geo_line_string.rs +++ b/crates/store/re_types/src/components/geo_line_string.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/graph_edge.rs b/crates/store/re_types/src/components/graph_edge.rs index 877b4815db79..cf35c2d487f1 100644 --- a/crates/store/re_types/src/components/graph_edge.rs +++ b/crates/store/re_types/src/components/graph_edge.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/graph_node.rs b/crates/store/re_types/src/components/graph_node.rs index b2ec7be326ee..797b8c47ba10 100644 --- a/crates/store/re_types/src/components/graph_node.rs +++ b/crates/store/re_types/src/components/graph_node.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/graph_type.rs b/crates/store/re_types/src/components/graph_type.rs index 4f4c03f135ce..4498b4a43e58 100644 --- a/crates/store/re_types/src/components/graph_type.rs +++ b/crates/store/re_types/src/components/graph_type.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/half_size2d.rs b/crates/store/re_types/src/components/half_size2d.rs index b748be80fbec..e8bfa594e937 100644 --- a/crates/store/re_types/src/components/half_size2d.rs +++ b/crates/store/re_types/src/components/half_size2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/half_size3d.rs b/crates/store/re_types/src/components/half_size3d.rs index f64fe87bace6..7a784f2528ae 100644 --- a/crates/store/re_types/src/components/half_size3d.rs +++ b/crates/store/re_types/src/components/half_size3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/image_buffer.rs b/crates/store/re_types/src/components/image_buffer.rs index e37bd67bf0f3..48ed12acefc4 100644 --- a/crates/store/re_types/src/components/image_buffer.rs +++ b/crates/store/re_types/src/components/image_buffer.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/image_format.rs b/crates/store/re_types/src/components/image_format.rs index 33dd4f369312..133961011033 100644 --- a/crates/store/re_types/src/components/image_format.rs +++ b/crates/store/re_types/src/components/image_format.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/image_plane_distance.rs b/crates/store/re_types/src/components/image_plane_distance.rs index c6c80562c420..d486c2b03f7f 100644 --- a/crates/store/re_types/src/components/image_plane_distance.rs +++ b/crates/store/re_types/src/components/image_plane_distance.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/keypoint_id.rs b/crates/store/re_types/src/components/keypoint_id.rs index d7ffad1f2699..fc20e728a541 100644 --- a/crates/store/re_types/src/components/keypoint_id.rs +++ b/crates/store/re_types/src/components/keypoint_id.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/lat_lon.rs b/crates/store/re_types/src/components/lat_lon.rs index 857068d89c57..7d72f9eee6b6 100644 --- a/crates/store/re_types/src/components/lat_lon.rs +++ b/crates/store/re_types/src/components/lat_lon.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/length.rs b/crates/store/re_types/src/components/length.rs index 7039d630f8a5..981c54ce971d 100644 --- a/crates/store/re_types/src/components/length.rs +++ b/crates/store/re_types/src/components/length.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/line_strip2d.rs b/crates/store/re_types/src/components/line_strip2d.rs index 12e9afd4ff3a..e94fae88f443 100644 --- a/crates/store/re_types/src/components/line_strip2d.rs +++ b/crates/store/re_types/src/components/line_strip2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/line_strip3d.rs b/crates/store/re_types/src/components/line_strip3d.rs index 59c4d4b70300..c20a5779329c 100644 --- a/crates/store/re_types/src/components/line_strip3d.rs +++ b/crates/store/re_types/src/components/line_strip3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/magnification_filter.rs b/crates/store/re_types/src/components/magnification_filter.rs index 1b4eb5ea3eb4..384713ac15f5 100644 --- a/crates/store/re_types/src/components/magnification_filter.rs +++ b/crates/store/re_types/src/components/magnification_filter.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/marker_shape.rs b/crates/store/re_types/src/components/marker_shape.rs index cea44fe1bc5f..a76806d2d169 100644 --- a/crates/store/re_types/src/components/marker_shape.rs +++ b/crates/store/re_types/src/components/marker_shape.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/marker_size.rs b/crates/store/re_types/src/components/marker_size.rs index 896aa14f4d98..b6e529aae438 100644 --- a/crates/store/re_types/src/components/marker_size.rs +++ b/crates/store/re_types/src/components/marker_size.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/media_type.rs b/crates/store/re_types/src/components/media_type.rs index d75ef3d9a5a9..4fb5a7aba74d 100644 --- a/crates/store/re_types/src/components/media_type.rs +++ b/crates/store/re_types/src/components/media_type.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/name.rs b/crates/store/re_types/src/components/name.rs index d847bb2a55af..6adc01da329e 100644 --- a/crates/store/re_types/src/components/name.rs +++ b/crates/store/re_types/src/components/name.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/opacity.rs b/crates/store/re_types/src/components/opacity.rs index e40e51ae00d7..73f4c69d849a 100644 --- a/crates/store/re_types/src/components/opacity.rs +++ b/crates/store/re_types/src/components/opacity.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/pinhole_projection.rs b/crates/store/re_types/src/components/pinhole_projection.rs index c36f0a00a6e3..70aaf29fb2d5 100644 --- a/crates/store/re_types/src/components/pinhole_projection.rs +++ b/crates/store/re_types/src/components/pinhole_projection.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/plane3d.rs b/crates/store/re_types/src/components/plane3d.rs index d284b634c8ad..caf4d1dc95c3 100644 --- a/crates/store/re_types/src/components/plane3d.rs +++ b/crates/store/re_types/src/components/plane3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/pose_rotation_axis_angle.rs b/crates/store/re_types/src/components/pose_rotation_axis_angle.rs index d2d06f17b943..9385b3f171a3 100644 --- a/crates/store/re_types/src/components/pose_rotation_axis_angle.rs +++ b/crates/store/re_types/src/components/pose_rotation_axis_angle.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/pose_rotation_quat.rs b/crates/store/re_types/src/components/pose_rotation_quat.rs index 7c9c34529f8b..cf024baa135a 100644 --- a/crates/store/re_types/src/components/pose_rotation_quat.rs +++ b/crates/store/re_types/src/components/pose_rotation_quat.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/pose_scale3d.rs b/crates/store/re_types/src/components/pose_scale3d.rs index 38e24437323c..afc3e4f5db60 100644 --- a/crates/store/re_types/src/components/pose_scale3d.rs +++ b/crates/store/re_types/src/components/pose_scale3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/pose_transform_mat3x3.rs b/crates/store/re_types/src/components/pose_transform_mat3x3.rs index d870bf241669..394cc2102df5 100644 --- a/crates/store/re_types/src/components/pose_transform_mat3x3.rs +++ b/crates/store/re_types/src/components/pose_transform_mat3x3.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/pose_translation3d.rs b/crates/store/re_types/src/components/pose_translation3d.rs index f0ecb52c00be..dcea071125d1 100644 --- a/crates/store/re_types/src/components/pose_translation3d.rs +++ b/crates/store/re_types/src/components/pose_translation3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/position2d.rs b/crates/store/re_types/src/components/position2d.rs index 059bf4fa3dc6..5a0caa7a84ec 100644 --- a/crates/store/re_types/src/components/position2d.rs +++ b/crates/store/re_types/src/components/position2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/position3d.rs b/crates/store/re_types/src/components/position3d.rs index be84619c40e6..09d0ca752cea 100644 --- a/crates/store/re_types/src/components/position3d.rs +++ b/crates/store/re_types/src/components/position3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/radius.rs b/crates/store/re_types/src/components/radius.rs index 323d4c927512..9de6b628e1ec 100644 --- a/crates/store/re_types/src/components/radius.rs +++ b/crates/store/re_types/src/components/radius.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/range1d.rs b/crates/store/re_types/src/components/range1d.rs index 519bff1d5334..972d79fd859c 100644 --- a/crates/store/re_types/src/components/range1d.rs +++ b/crates/store/re_types/src/components/range1d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/recording_uri.rs b/crates/store/re_types/src/components/recording_uri.rs index 2c010dbf69ca..5b96d603b848 100644 --- a/crates/store/re_types/src/components/recording_uri.rs +++ b/crates/store/re_types/src/components/recording_uri.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/resolution.rs b/crates/store/re_types/src/components/resolution.rs index 942e8ded5d9a..1469b3c096bb 100644 --- a/crates/store/re_types/src/components/resolution.rs +++ b/crates/store/re_types/src/components/resolution.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/rotation_axis_angle.rs b/crates/store/re_types/src/components/rotation_axis_angle.rs index b76abaa079a2..a02ea550a8ea 100644 --- a/crates/store/re_types/src/components/rotation_axis_angle.rs +++ b/crates/store/re_types/src/components/rotation_axis_angle.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/rotation_quat.rs b/crates/store/re_types/src/components/rotation_quat.rs index 5eb6c2773f38..bebdb6e1b6a3 100644 --- a/crates/store/re_types/src/components/rotation_quat.rs +++ b/crates/store/re_types/src/components/rotation_quat.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/scalar.rs b/crates/store/re_types/src/components/scalar.rs index 5c215db20704..1c01bad38b78 100644 --- a/crates/store/re_types/src/components/scalar.rs +++ b/crates/store/re_types/src/components/scalar.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/scale3d.rs b/crates/store/re_types/src/components/scale3d.rs index 53cf03a89305..a6bf67f4fc65 100644 --- a/crates/store/re_types/src/components/scale3d.rs +++ b/crates/store/re_types/src/components/scale3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/show_labels.rs b/crates/store/re_types/src/components/show_labels.rs index 505d7e7b4892..4384331fddee 100644 --- a/crates/store/re_types/src/components/show_labels.rs +++ b/crates/store/re_types/src/components/show_labels.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/stroke_width.rs b/crates/store/re_types/src/components/stroke_width.rs index a60591fd8586..9d9594fddd0f 100644 --- a/crates/store/re_types/src/components/stroke_width.rs +++ b/crates/store/re_types/src/components/stroke_width.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/tensor_data.rs b/crates/store/re_types/src/components/tensor_data.rs index 5b012c667e14..111724f5bcee 100644 --- a/crates/store/re_types/src/components/tensor_data.rs +++ b/crates/store/re_types/src/components/tensor_data.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/tensor_dimension_index_selection.rs b/crates/store/re_types/src/components/tensor_dimension_index_selection.rs index cb52ac4e32d4..c45952b8afa1 100644 --- a/crates/store/re_types/src/components/tensor_dimension_index_selection.rs +++ b/crates/store/re_types/src/components/tensor_dimension_index_selection.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/tensor_height_dimension.rs b/crates/store/re_types/src/components/tensor_height_dimension.rs index cfa1b1cac397..83a8c2119d47 100644 --- a/crates/store/re_types/src/components/tensor_height_dimension.rs +++ b/crates/store/re_types/src/components/tensor_height_dimension.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/tensor_width_dimension.rs b/crates/store/re_types/src/components/tensor_width_dimension.rs index 0a395c69b217..c6dd59011192 100644 --- a/crates/store/re_types/src/components/tensor_width_dimension.rs +++ b/crates/store/re_types/src/components/tensor_width_dimension.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/texcoord2d.rs b/crates/store/re_types/src/components/texcoord2d.rs index d01cf77aa12b..c08acb80424b 100644 --- a/crates/store/re_types/src/components/texcoord2d.rs +++ b/crates/store/re_types/src/components/texcoord2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/text.rs b/crates/store/re_types/src/components/text.rs index 014369c11e14..42ed71a6a088 100644 --- a/crates/store/re_types/src/components/text.rs +++ b/crates/store/re_types/src/components/text.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/text_log_level.rs b/crates/store/re_types/src/components/text_log_level.rs index 4fc5e833567d..7b602e513536 100644 --- a/crates/store/re_types/src/components/text_log_level.rs +++ b/crates/store/re_types/src/components/text_log_level.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/transform_mat3x3.rs b/crates/store/re_types/src/components/transform_mat3x3.rs index 4b22174bae9e..5d2935bf1a07 100644 --- a/crates/store/re_types/src/components/transform_mat3x3.rs +++ b/crates/store/re_types/src/components/transform_mat3x3.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/transform_relation.rs b/crates/store/re_types/src/components/transform_relation.rs index 9aa39cade685..f3baed9c4277 100644 --- a/crates/store/re_types/src/components/transform_relation.rs +++ b/crates/store/re_types/src/components/transform_relation.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/translation3d.rs b/crates/store/re_types/src/components/translation3d.rs index 30451799c04c..452a30db6b53 100644 --- a/crates/store/re_types/src/components/translation3d.rs +++ b/crates/store/re_types/src/components/translation3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/triangle_indices.rs b/crates/store/re_types/src/components/triangle_indices.rs index 63d5316e6637..1fd44e8af27e 100644 --- a/crates/store/re_types/src/components/triangle_indices.rs +++ b/crates/store/re_types/src/components/triangle_indices.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/value_range.rs b/crates/store/re_types/src/components/value_range.rs index ccaa552121e3..0684716cca21 100644 --- a/crates/store/re_types/src/components/value_range.rs +++ b/crates/store/re_types/src/components/value_range.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/vector2d.rs b/crates/store/re_types/src/components/vector2d.rs index 80640d73335a..d063653259b4 100644 --- a/crates/store/re_types/src/components/vector2d.rs +++ b/crates/store/re_types/src/components/vector2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/vector3d.rs b/crates/store/re_types/src/components/vector3d.rs index 6a5388c1da2c..45a796c62206 100644 --- a/crates/store/re_types/src/components/vector3d.rs +++ b/crates/store/re_types/src/components/vector3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/video_timestamp.rs b/crates/store/re_types/src/components/video_timestamp.rs index 4ebc48ec98c6..c25c644bcb23 100644 --- a/crates/store/re_types/src/components/video_timestamp.rs +++ b/crates/store/re_types/src/components/video_timestamp.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/components/view_coordinates.rs b/crates/store/re_types/src/components/view_coordinates.rs index a4c317487d4c..fa724a474a9a 100644 --- a/crates/store/re_types/src/components/view_coordinates.rs +++ b/crates/store/re_types/src/components/view_coordinates.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/angle.rs b/crates/store/re_types/src/datatypes/angle.rs index 7602af41cd53..0af6690037e7 100644 --- a/crates/store/re_types/src/datatypes/angle.rs +++ b/crates/store/re_types/src/datatypes/angle.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/annotation_info.rs b/crates/store/re_types/src/datatypes/annotation_info.rs index 72959487214b..3472405a821f 100644 --- a/crates/store/re_types/src/datatypes/annotation_info.rs +++ b/crates/store/re_types/src/datatypes/annotation_info.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/blob.rs b/crates/store/re_types/src/datatypes/blob.rs index b426c434fd58..bb324b10f30b 100644 --- a/crates/store/re_types/src/datatypes/blob.rs +++ b/crates/store/re_types/src/datatypes/blob.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/channel_datatype.rs b/crates/store/re_types/src/datatypes/channel_datatype.rs index 0889533c2e76..eccd99f134d7 100644 --- a/crates/store/re_types/src/datatypes/channel_datatype.rs +++ b/crates/store/re_types/src/datatypes/channel_datatype.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/class_description.rs b/crates/store/re_types/src/datatypes/class_description.rs index 8a973105aaaa..3593f555f46f 100644 --- a/crates/store/re_types/src/datatypes/class_description.rs +++ b/crates/store/re_types/src/datatypes/class_description.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/class_description_map_elem.rs b/crates/store/re_types/src/datatypes/class_description_map_elem.rs index e44381c2480b..132b8ac8142d 100644 --- a/crates/store/re_types/src/datatypes/class_description_map_elem.rs +++ b/crates/store/re_types/src/datatypes/class_description_map_elem.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/class_id.rs b/crates/store/re_types/src/datatypes/class_id.rs index d9edc5920617..c9fff0b2cbda 100644 --- a/crates/store/re_types/src/datatypes/class_id.rs +++ b/crates/store/re_types/src/datatypes/class_id.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/color_model.rs b/crates/store/re_types/src/datatypes/color_model.rs index f7f6f68303b9..38e1647acb0e 100644 --- a/crates/store/re_types/src/datatypes/color_model.rs +++ b/crates/store/re_types/src/datatypes/color_model.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/dvec2d.rs b/crates/store/re_types/src/datatypes/dvec2d.rs index dca7abb60020..fac4f8dbdf62 100644 --- a/crates/store/re_types/src/datatypes/dvec2d.rs +++ b/crates/store/re_types/src/datatypes/dvec2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/image_format.rs b/crates/store/re_types/src/datatypes/image_format.rs index c7be2dba584e..d61f374a2945 100644 --- a/crates/store/re_types/src/datatypes/image_format.rs +++ b/crates/store/re_types/src/datatypes/image_format.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/keypoint_id.rs b/crates/store/re_types/src/datatypes/keypoint_id.rs index c3754c32712f..df9cccf30a68 100644 --- a/crates/store/re_types/src/datatypes/keypoint_id.rs +++ b/crates/store/re_types/src/datatypes/keypoint_id.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/keypoint_pair.rs b/crates/store/re_types/src/datatypes/keypoint_pair.rs index e7138ef83e81..6161dd041868 100644 --- a/crates/store/re_types/src/datatypes/keypoint_pair.rs +++ b/crates/store/re_types/src/datatypes/keypoint_pair.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/mat3x3.rs b/crates/store/re_types/src/datatypes/mat3x3.rs index 07c0f3ed03c8..12952254237f 100644 --- a/crates/store/re_types/src/datatypes/mat3x3.rs +++ b/crates/store/re_types/src/datatypes/mat3x3.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/mat4x4.rs b/crates/store/re_types/src/datatypes/mat4x4.rs index 9553147cdaec..430ed5d3de00 100644 --- a/crates/store/re_types/src/datatypes/mat4x4.rs +++ b/crates/store/re_types/src/datatypes/mat4x4.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/pixel_format.rs b/crates/store/re_types/src/datatypes/pixel_format.rs index a21cec6c4e21..c52ff2cdca67 100644 --- a/crates/store/re_types/src/datatypes/pixel_format.rs +++ b/crates/store/re_types/src/datatypes/pixel_format.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/plane3d.rs b/crates/store/re_types/src/datatypes/plane3d.rs index e807be38bf01..94cc4c980a6c 100644 --- a/crates/store/re_types/src/datatypes/plane3d.rs +++ b/crates/store/re_types/src/datatypes/plane3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/quaternion.rs b/crates/store/re_types/src/datatypes/quaternion.rs index f33e6a0aab0e..ae36f3fb9bb1 100644 --- a/crates/store/re_types/src/datatypes/quaternion.rs +++ b/crates/store/re_types/src/datatypes/quaternion.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/range1d.rs b/crates/store/re_types/src/datatypes/range1d.rs index 9db25bd1a9cb..5a3a575cee5e 100644 --- a/crates/store/re_types/src/datatypes/range1d.rs +++ b/crates/store/re_types/src/datatypes/range1d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/range2d.rs b/crates/store/re_types/src/datatypes/range2d.rs index 09bd52b0caf7..8f3e983d06c0 100644 --- a/crates/store/re_types/src/datatypes/range2d.rs +++ b/crates/store/re_types/src/datatypes/range2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/rgba32.rs b/crates/store/re_types/src/datatypes/rgba32.rs index df5cff7bac2e..06b1093f1c94 100644 --- a/crates/store/re_types/src/datatypes/rgba32.rs +++ b/crates/store/re_types/src/datatypes/rgba32.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/rotation_axis_angle.rs b/crates/store/re_types/src/datatypes/rotation_axis_angle.rs index 4e2efc7e17ca..893f3fe60f6f 100644 --- a/crates/store/re_types/src/datatypes/rotation_axis_angle.rs +++ b/crates/store/re_types/src/datatypes/rotation_axis_angle.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/tensor_buffer.rs b/crates/store/re_types/src/datatypes/tensor_buffer.rs index 19df1b11c690..834e95fdfe7f 100644 --- a/crates/store/re_types/src/datatypes/tensor_buffer.rs +++ b/crates/store/re_types/src/datatypes/tensor_buffer.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/tensor_data.rs b/crates/store/re_types/src/datatypes/tensor_data.rs index 0c28d9ff6285..27a1b36f8dfc 100644 --- a/crates/store/re_types/src/datatypes/tensor_data.rs +++ b/crates/store/re_types/src/datatypes/tensor_data.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/tensor_dimension_index_selection.rs b/crates/store/re_types/src/datatypes/tensor_dimension_index_selection.rs index b344d5477865..c735a5957a7e 100644 --- a/crates/store/re_types/src/datatypes/tensor_dimension_index_selection.rs +++ b/crates/store/re_types/src/datatypes/tensor_dimension_index_selection.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/tensor_dimension_selection.rs b/crates/store/re_types/src/datatypes/tensor_dimension_selection.rs index 7f7e73bcf8a9..2e10f82fa477 100644 --- a/crates/store/re_types/src/datatypes/tensor_dimension_selection.rs +++ b/crates/store/re_types/src/datatypes/tensor_dimension_selection.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/utf8pair.rs b/crates/store/re_types/src/datatypes/utf8pair.rs index 38d450665af0..67cac56b2131 100644 --- a/crates/store/re_types/src/datatypes/utf8pair.rs +++ b/crates/store/re_types/src/datatypes/utf8pair.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/uuid.rs b/crates/store/re_types/src/datatypes/uuid.rs index 6f9c8d548741..c1bc747308aa 100644 --- a/crates/store/re_types/src/datatypes/uuid.rs +++ b/crates/store/re_types/src/datatypes/uuid.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/uvec2d.rs b/crates/store/re_types/src/datatypes/uvec2d.rs index d99841311376..149a186cea70 100644 --- a/crates/store/re_types/src/datatypes/uvec2d.rs +++ b/crates/store/re_types/src/datatypes/uvec2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/uvec3d.rs b/crates/store/re_types/src/datatypes/uvec3d.rs index 99a0dcf95dee..fe1fa247fe46 100644 --- a/crates/store/re_types/src/datatypes/uvec3d.rs +++ b/crates/store/re_types/src/datatypes/uvec3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/uvec4d.rs b/crates/store/re_types/src/datatypes/uvec4d.rs index 4b76b63b8e21..bd9c7cba5242 100644 --- a/crates/store/re_types/src/datatypes/uvec4d.rs +++ b/crates/store/re_types/src/datatypes/uvec4d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/vec2d.rs b/crates/store/re_types/src/datatypes/vec2d.rs index 02250192f749..418ee1bfd311 100644 --- a/crates/store/re_types/src/datatypes/vec2d.rs +++ b/crates/store/re_types/src/datatypes/vec2d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/vec3d.rs b/crates/store/re_types/src/datatypes/vec3d.rs index b36a06e8a0e2..282ee4db0d72 100644 --- a/crates/store/re_types/src/datatypes/vec3d.rs +++ b/crates/store/re_types/src/datatypes/vec3d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/vec4d.rs b/crates/store/re_types/src/datatypes/vec4d.rs index 0c3ddefbd9e6..3ec184780e34 100644 --- a/crates/store/re_types/src/datatypes/vec4d.rs +++ b/crates/store/re_types/src/datatypes/vec4d.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/video_timestamp.rs b/crates/store/re_types/src/datatypes/video_timestamp.rs index ed839f0cc9d8..3b61853fd78d 100644 --- a/crates/store/re_types/src/datatypes/video_timestamp.rs +++ b/crates/store/re_types/src/datatypes/video_timestamp.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/datatypes/view_coordinates.rs b/crates/store/re_types/src/datatypes/view_coordinates.rs index b73a1c3a365f..358a745aa47c 100644 --- a/crates/store/re_types/src/datatypes/view_coordinates.rs +++ b/crates/store/re_types/src/datatypes/view_coordinates.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/archetypes/affix_fuzzer1.rs b/crates/store/re_types/src/testing/archetypes/affix_fuzzer1.rs index 46dbd2e202c3..96d54bbdedda 100644 --- a/crates/store/re_types/src/testing/archetypes/affix_fuzzer1.rs +++ b/crates/store/re_types/src/testing/archetypes/affix_fuzzer1.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -361,9 +361,9 @@ impl ::re_types_core::Archetype for AffixFuzzer1 { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: AffixFuzzer1Indicator = AffixFuzzer1Indicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + AffixFuzzer1Indicator::DEFAULT.serialized().unwrap() } #[inline] @@ -491,7 +491,7 @@ impl ::re_types_core::AsComponents for AffixFuzzer1 { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.fuzz1001.clone(), self.fuzz1002.clone(), self.fuzz1003.clone(), @@ -764,9 +764,12 @@ impl AffixFuzzer1 { .map(|fuzz1022| fuzz1022.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/testing/archetypes/affix_fuzzer2.rs b/crates/store/re_types/src/testing/archetypes/affix_fuzzer2.rs index 9c720318f73a..58dad117b5b3 100644 --- a/crates/store/re_types/src/testing/archetypes/affix_fuzzer2.rs +++ b/crates/store/re_types/src/testing/archetypes/affix_fuzzer2.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -322,9 +322,9 @@ impl ::re_types_core::Archetype for AffixFuzzer2 { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: AffixFuzzer2Indicator = AffixFuzzer2Indicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + AffixFuzzer2Indicator::DEFAULT.serialized().unwrap() } #[inline] @@ -440,7 +440,7 @@ impl ::re_types_core::AsComponents for AffixFuzzer2 { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.fuzz1101.clone(), self.fuzz1102.clone(), self.fuzz1103.clone(), @@ -683,9 +683,12 @@ impl AffixFuzzer2 { .map(|fuzz1122| fuzz1122.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/testing/archetypes/affix_fuzzer3.rs b/crates/store/re_types/src/testing/archetypes/affix_fuzzer3.rs index b88ddf968d82..f7215fa86e4f 100644 --- a/crates/store/re_types/src/testing/archetypes/affix_fuzzer3.rs +++ b/crates/store/re_types/src/testing/archetypes/affix_fuzzer3.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -309,9 +309,9 @@ impl ::re_types_core::Archetype for AffixFuzzer3 { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: AffixFuzzer3Indicator = AffixFuzzer3Indicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + AffixFuzzer3Indicator::DEFAULT.serialized().unwrap() } #[inline] @@ -423,7 +423,7 @@ impl ::re_types_core::AsComponents for AffixFuzzer3 { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.fuzz2001.clone(), self.fuzz2002.clone(), self.fuzz2003.clone(), @@ -637,9 +637,12 @@ impl AffixFuzzer3 { .map(|fuzz2018| fuzz2018.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/testing/archetypes/affix_fuzzer4.rs b/crates/store/re_types/src/testing/archetypes/affix_fuzzer4.rs index e96bb023859c..3c0353e69f1b 100644 --- a/crates/store/re_types/src/testing/archetypes/affix_fuzzer4.rs +++ b/crates/store/re_types/src/testing/archetypes/affix_fuzzer4.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; @@ -309,9 +309,9 @@ impl ::re_types_core::Archetype for AffixFuzzer4 { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: AffixFuzzer4Indicator = AffixFuzzer4Indicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn ::re_types_core::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + AffixFuzzer4Indicator::DEFAULT.serialized().unwrap() } #[inline] @@ -423,7 +423,7 @@ impl ::re_types_core::AsComponents for AffixFuzzer4 { fn as_serialized_batches(&self) -> Vec { use ::re_types_core::Archetype as _; [ - Self::indicator().serialized(), + Some(Self::indicator()), self.fuzz2101.clone(), self.fuzz2102.clone(), self.fuzz2103.clone(), @@ -637,9 +637,12 @@ impl AffixFuzzer4 { .map(|fuzz2118| fuzz2118.partitioned(_lengths.clone())) .transpose()?, ]; - let indicator_column = - ::re_types_core::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([::re_types_core::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer1.rs b/crates/store/re_types/src/testing/components/affix_fuzzer1.rs index c2cff8dec953..0fdf3ee92c81 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer1.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer1.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer10.rs b/crates/store/re_types/src/testing/components/affix_fuzzer10.rs index bbca1295e226..19f4c12f88f6 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer10.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer10.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer11.rs b/crates/store/re_types/src/testing/components/affix_fuzzer11.rs index 8bd9d33d7946..b6196f458069 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer11.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer11.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer12.rs b/crates/store/re_types/src/testing/components/affix_fuzzer12.rs index b4676ed1aaf7..5421c033edd0 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer12.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer12.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer13.rs b/crates/store/re_types/src/testing/components/affix_fuzzer13.rs index 8937fe3bb284..508d5865f280 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer13.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer13.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer14.rs b/crates/store/re_types/src/testing/components/affix_fuzzer14.rs index 5067593e81ee..679124c3c306 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer14.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer14.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer15.rs b/crates/store/re_types/src/testing/components/affix_fuzzer15.rs index cb2ad5bc1980..545848f4319f 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer15.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer15.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer16.rs b/crates/store/re_types/src/testing/components/affix_fuzzer16.rs index f2658bc06cb4..2efe6982908d 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer16.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer16.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer17.rs b/crates/store/re_types/src/testing/components/affix_fuzzer17.rs index f3182b2fd257..f663ba66b485 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer17.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer17.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer18.rs b/crates/store/re_types/src/testing/components/affix_fuzzer18.rs index fed1da38c806..7a073bccd580 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer18.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer18.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer19.rs b/crates/store/re_types/src/testing/components/affix_fuzzer19.rs index 8b6032bd257a..26b5190d4fb1 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer19.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer19.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer2.rs b/crates/store/re_types/src/testing/components/affix_fuzzer2.rs index a932b92f47a7..11b0cb3a4120 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer2.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer2.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer20.rs b/crates/store/re_types/src/testing/components/affix_fuzzer20.rs index 1b5eb4731e3f..6c509915dddf 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer20.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer20.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer21.rs b/crates/store/re_types/src/testing/components/affix_fuzzer21.rs index bca72320c768..6ecc1c951504 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer21.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer21.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer22.rs b/crates/store/re_types/src/testing/components/affix_fuzzer22.rs index 5ae4cbe887a3..68d2912b22d7 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer22.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer22.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer23.rs b/crates/store/re_types/src/testing/components/affix_fuzzer23.rs index b4e46c296a92..f5e03cfa62a3 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer23.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer23.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer3.rs b/crates/store/re_types/src/testing/components/affix_fuzzer3.rs index 8617e5e18c61..04645a330a01 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer3.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer3.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer4.rs b/crates/store/re_types/src/testing/components/affix_fuzzer4.rs index fafb630b60bf..109cafc606a2 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer4.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer4.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer5.rs b/crates/store/re_types/src/testing/components/affix_fuzzer5.rs index 4ad2ad080296..55177c85b503 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer5.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer5.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer6.rs b/crates/store/re_types/src/testing/components/affix_fuzzer6.rs index 0b177e1e5e9c..9fa0eb1e21cf 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer6.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer6.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer7.rs b/crates/store/re_types/src/testing/components/affix_fuzzer7.rs index 3a0d8bf40484..c15837ec055f 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer7.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer7.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer8.rs b/crates/store/re_types/src/testing/components/affix_fuzzer8.rs index c775293cebc3..534627cfe1d7 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer8.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer8.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/components/affix_fuzzer9.rs b/crates/store/re_types/src/testing/components/affix_fuzzer9.rs index 68c5ec93327a..c71c8162729a 100644 --- a/crates/store/re_types/src/testing/components/affix_fuzzer9.rs +++ b/crates/store/re_types/src/testing/components/affix_fuzzer9.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/affix_fuzzer1.rs b/crates/store/re_types/src/testing/datatypes/affix_fuzzer1.rs index 13e6f4f041ae..4bdf5c5c0079 100644 --- a/crates/store/re_types/src/testing/datatypes/affix_fuzzer1.rs +++ b/crates/store/re_types/src/testing/datatypes/affix_fuzzer1.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/affix_fuzzer2.rs b/crates/store/re_types/src/testing/datatypes/affix_fuzzer2.rs index a916b646eb3a..d7ee8d0f5ef1 100644 --- a/crates/store/re_types/src/testing/datatypes/affix_fuzzer2.rs +++ b/crates/store/re_types/src/testing/datatypes/affix_fuzzer2.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/affix_fuzzer20.rs b/crates/store/re_types/src/testing/datatypes/affix_fuzzer20.rs index dd0c35d1ab74..fa25bafa4929 100644 --- a/crates/store/re_types/src/testing/datatypes/affix_fuzzer20.rs +++ b/crates/store/re_types/src/testing/datatypes/affix_fuzzer20.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/affix_fuzzer21.rs b/crates/store/re_types/src/testing/datatypes/affix_fuzzer21.rs index e9279ccb0602..3ed6f14a24c9 100644 --- a/crates/store/re_types/src/testing/datatypes/affix_fuzzer21.rs +++ b/crates/store/re_types/src/testing/datatypes/affix_fuzzer21.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/affix_fuzzer22.rs b/crates/store/re_types/src/testing/datatypes/affix_fuzzer22.rs index 1100cc809f1e..3fe00a352b57 100644 --- a/crates/store/re_types/src/testing/datatypes/affix_fuzzer22.rs +++ b/crates/store/re_types/src/testing/datatypes/affix_fuzzer22.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/affix_fuzzer3.rs b/crates/store/re_types/src/testing/datatypes/affix_fuzzer3.rs index 547567ed035d..f22d70d24d3a 100644 --- a/crates/store/re_types/src/testing/datatypes/affix_fuzzer3.rs +++ b/crates/store/re_types/src/testing/datatypes/affix_fuzzer3.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/affix_fuzzer4.rs b/crates/store/re_types/src/testing/datatypes/affix_fuzzer4.rs index e3126bb948c8..7d16baef3bea 100644 --- a/crates/store/re_types/src/testing/datatypes/affix_fuzzer4.rs +++ b/crates/store/re_types/src/testing/datatypes/affix_fuzzer4.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/affix_fuzzer5.rs b/crates/store/re_types/src/testing/datatypes/affix_fuzzer5.rs index 385d878dd62f..c4b4144d732a 100644 --- a/crates/store/re_types/src/testing/datatypes/affix_fuzzer5.rs +++ b/crates/store/re_types/src/testing/datatypes/affix_fuzzer5.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/enum_test.rs b/crates/store/re_types/src/testing/datatypes/enum_test.rs index 3cf1f93cadeb..d21c21f3330b 100644 --- a/crates/store/re_types/src/testing/datatypes/enum_test.rs +++ b/crates/store/re_types/src/testing/datatypes/enum_test.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/flattened_scalar.rs b/crates/store/re_types/src/testing/datatypes/flattened_scalar.rs index 7d39fe768ae8..670bb26d6c27 100644 --- a/crates/store/re_types/src/testing/datatypes/flattened_scalar.rs +++ b/crates/store/re_types/src/testing/datatypes/flattened_scalar.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/multi_enum.rs b/crates/store/re_types/src/testing/datatypes/multi_enum.rs index bd19de09d3d9..2404164b0ddc 100644 --- a/crates/store/re_types/src/testing/datatypes/multi_enum.rs +++ b/crates/store/re_types/src/testing/datatypes/multi_enum.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/primitive_component.rs b/crates/store/re_types/src/testing/datatypes/primitive_component.rs index 3d7f926878e9..fa87d0cba711 100644 --- a/crates/store/re_types/src/testing/datatypes/primitive_component.rs +++ b/crates/store/re_types/src/testing/datatypes/primitive_component.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/string_component.rs b/crates/store/re_types/src/testing/datatypes/string_component.rs index 33519adf8643..b014743b7190 100644 --- a/crates/store/re_types/src/testing/datatypes/string_component.rs +++ b/crates/store/re_types/src/testing/datatypes/string_component.rs @@ -14,7 +14,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types/src/testing/datatypes/valued_enum.rs b/crates/store/re_types/src/testing/datatypes/valued_enum.rs index 6191394e2fce..197b53d43983 100644 --- a/crates/store/re_types/src/testing/datatypes/valued_enum.rs +++ b/crates/store/re_types/src/testing/datatypes/valued_enum.rs @@ -15,7 +15,7 @@ use ::re_types_core::try_serialize_field; use ::re_types_core::SerializationResult; -use ::re_types_core::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use ::re_types_core::{ComponentBatch, SerializedComponentBatch}; use ::re_types_core::{ComponentDescriptor, ComponentName}; use ::re_types_core::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/archetype.rs b/crates/store/re_types_core/src/archetype.rs index 03a354998f1f..836c53f3d6b4 100644 --- a/crates/store/re_types_core/src/archetype.rs +++ b/crates/store/re_types_core/src/archetype.rs @@ -1,8 +1,8 @@ use std::{borrow::Cow, sync::Arc}; use crate::{ - ComponentBatch, ComponentBatchCowWithDescriptor, ComponentDescriptor, ComponentName, - DeserializationResult, SerializationResult, _Backtrace, + ComponentBatch, ComponentDescriptor, ComponentName, DeserializationResult, SerializationResult, + SerializedComponentBatch, _Backtrace, }; #[allow(unused_imports)] // used in docstrings @@ -51,12 +51,7 @@ pub trait Archetype { /// /// This allows for associating arbitrary indicator components with arbitrary data. /// Check out the `manual_indicator` API example to see what's possible. - #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - ComponentBatchCowWithDescriptor::new( - Box::<::Indicator>::default() as Box - ) - } + fn indicator() -> SerializedComponentBatch; /// Returns all component descriptors that _must_ be provided by the user when constructing this archetype. fn required_components() -> std::borrow::Cow<'static, [ComponentDescriptor]>; @@ -64,7 +59,7 @@ pub trait Archetype { /// Returns all component descriptors that _should_ be provided by the user when constructing this archetype. #[inline] fn recommended_components() -> std::borrow::Cow<'static, [ComponentDescriptor]> { - std::borrow::Cow::Owned(vec![Self::indicator().descriptor().into_owned()]) + std::borrow::Cow::Owned(vec![Self::indicator().descriptor.clone()]) } /// Returns all component descriptors that _may_ be provided by the user when constructing this archetype. @@ -286,18 +281,6 @@ impl crate::ComponentBatch for GenericIndicatorComponentArray { #[derive(Debug, Clone, Copy)] pub struct NamedIndicatorComponent(pub ComponentName); -impl NamedIndicatorComponent { - #[inline] - pub fn as_batch(&self) -> ComponentBatchCowWithDescriptor<'_> { - ComponentBatchCowWithDescriptor::new(self as &dyn crate::ComponentBatch) - } - - #[inline] - pub fn to_batch(self) -> ComponentBatchCowWithDescriptor<'static> { - ComponentBatchCowWithDescriptor::new(Box::new(self) as Box) - } -} - impl crate::LoggableBatch for NamedIndicatorComponent { #[inline] fn to_arrow(&self) -> SerializationResult { diff --git a/crates/store/re_types_core/src/archetypes/clear.rs b/crates/store/re_types_core/src/archetypes/clear.rs index bc92a191a83b..4b884ef04356 100644 --- a/crates/store/re_types_core/src/archetypes/clear.rs +++ b/crates/store/re_types_core/src/archetypes/clear.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; @@ -139,9 +139,9 @@ impl crate::Archetype for Clear { } #[inline] - fn indicator() -> ComponentBatchCowWithDescriptor<'static> { - static INDICATOR: ClearIndicator = ClearIndicator::DEFAULT; - ComponentBatchCowWithDescriptor::new(&INDICATOR as &dyn crate::ComponentBatch) + fn indicator() -> SerializedComponentBatch { + #[allow(clippy::unwrap_used)] + ClearIndicator::DEFAULT.serialized().unwrap() } #[inline] @@ -184,7 +184,7 @@ impl crate::AsComponents for Clear { #[inline] fn as_serialized_batches(&self) -> Vec { use crate::Archetype as _; - [Self::indicator().serialized(), self.is_recursive.clone()] + [Some(Self::indicator()), self.is_recursive.clone()] .into_iter() .flatten() .collect() @@ -242,8 +242,12 @@ impl Clear { .is_recursive .map(|is_recursive| is_recursive.partitioned(_lengths.clone())) .transpose()?]; - let indicator_column = crate::indicator_column::(_lengths.into_iter().count())?; - Ok(columns.into_iter().chain([indicator_column]).flatten()) + Ok(columns + .into_iter() + .flatten() + .chain([crate::indicator_column::( + _lengths.into_iter().count(), + )?])) } /// Helper to partition the component data into unit-length sub-batches. diff --git a/crates/store/re_types_core/src/as_components.rs b/crates/store/re_types_core/src/as_components.rs index 6045561f0508..2afb20460024 100644 --- a/crates/store/re_types_core/src/as_components.rs +++ b/crates/store/re_types_core/src/as_components.rs @@ -1,6 +1,4 @@ -use crate::{ - ComponentBatch, ComponentBatchCowWithDescriptor, SerializationResult, SerializedComponentBatch, -}; +use crate::{SerializationResult, SerializedComponentBatch}; /// Describes the interface for interpreting an object as a bundle of [`Component`]s. /// @@ -10,8 +8,8 @@ use crate::{ /// it is possible to manually extend existing bundles, or even implement fully custom ones. /// /// All [`AsComponents`] methods are optional to implement, with the exception of -/// [`AsComponents::as_component_batches`], which describes how the bundle can be interpreted -/// as a set of [`ComponentBatch`]es: arrays of components that are ready to be serialized. +/// [`AsComponents::as_serialized_batches`], which describes how the bundle can be interpreted +/// as a set of [`SerializedComponentBatch`]es: serialized component data. /// /// Have a look at our [Custom Data Loader] example to learn more about handwritten bundles. /// @@ -19,32 +17,6 @@ use crate::{ /// [Custom Data Loader]: https://github.com/rerun-io/rerun/blob/latest/examples/rust/custom_data_loader /// [`Component`]: [crate::Component] pub trait AsComponents { - /// Deprecated. Do not use. See [`AsComponents::as_serialized_batches`] instead. - /// - /// Exposes the object's contents as a set of [`ComponentBatch`]s. - /// - /// This is the main mechanism for easily extending builtin archetypes or even writing - /// fully custom ones. - /// Have a look at our [Custom Data Loader] example to learn more about extending archetypes. - /// - /// Implementers of [`AsComponents`] get one last chance to override the tags in the - /// [`ComponentDescriptor`], see [`ComponentBatchCowWithDescriptor::descriptor_override`]. - /// - /// [Custom Data Loader]: https://github.com/rerun-io/rerun/tree/latest/examples/rust/custom_data_loader - /// [`ComponentDescriptor`]: [crate::ComponentDescriptor] - // - // NOTE: Don't bother returning a CoW here: we need to dynamically discard optional components - // depending on their presence (or lack thereof) at runtime anyway. - #[deprecated(since = "0.22.0", note = "use as_serialized_batches instead")] - #[allow(clippy::unimplemented)] // temporary, this method is about to be replaced - fn as_component_batches(&self) -> Vec> { - // Eagerly serialized archetypes simply cannot implement this. - // - // This method only exist while we are in the process of making all existing archetypes - // eagerly serialized, at which point it'll be removed. - unimplemented!() - } - /// Exposes the object's contents as a set of [`SerializedComponentBatch`]es. /// /// This is the main mechanism for easily extending builtin archetypes or even writing @@ -59,19 +31,13 @@ pub trait AsComponents { // // NOTE: Don't bother returning a CoW here: we need to dynamically discard optional components // depending on their presence (or lack thereof) at runtime anyway. - fn as_serialized_batches(&self) -> Vec { - #[allow(deprecated)] // that's the whole point - self.as_component_batches() - .into_iter() - .filter_map(|batch| batch.serialized()) - .collect() - } + fn as_serialized_batches(&self) -> Vec; // --- /// Serializes all non-null [`Component`]s of this bundle into Arrow arrays. /// - /// The default implementation will simply serialize the result of [`Self::as_component_batches`] + /// The default implementation will simply serialize the result of [`Self::as_serialized_batches`] /// as-is, which is what you want in 99.9% of cases. /// /// [`Component`]: [crate::Component] @@ -91,41 +57,6 @@ fn assert_object_safe() { let _: &dyn AsComponents; } -impl AsComponents for dyn ComponentBatch { - #[inline] - fn as_serialized_batches(&self) -> Vec { - self.serialized().into_iter().collect() - } -} - -impl AsComponents for [&dyn ComponentBatch; N] { - #[inline] - fn as_serialized_batches(&self) -> Vec { - self.iter().filter_map(|batch| batch.serialized()).collect() - } -} - -impl AsComponents for [Box; N] { - #[inline] - fn as_serialized_batches(&self) -> Vec { - self.iter().filter_map(|batch| batch.serialized()).collect() - } -} - -impl AsComponents for Vec<&dyn ComponentBatch> { - #[inline] - fn as_serialized_batches(&self) -> Vec { - self.iter().filter_map(|batch| batch.serialized()).collect() - } -} - -impl AsComponents for Vec> { - #[inline] - fn as_serialized_batches(&self) -> Vec { - self.iter().filter_map(|batch| batch.serialized()).collect() - } -} - impl AsComponents for SerializedComponentBatch { #[inline] fn as_serialized_batches(&self) -> Vec { @@ -193,7 +124,7 @@ impl AsComponents for Vec> { /// ```compile_fail /// let comp = re_types_core::components::ClearIsRecursive::default(); -/// let _ = (&comp as &dyn re_types_core::AsComponents).as_component_batches(); +/// let _ = (&comp as &dyn re_types_core::AsComponents).as_serialized_batches(); /// ``` #[allow(dead_code)] #[allow(rustdoc::private_doc_tests)] // doc-tests are the only way to assert failed compilation @@ -201,7 +132,7 @@ fn single_ascomponents() {} /// ```compile_fail /// let comp = re_types_core::components::ClearIsRecursive::default(); -/// let _ = (&[comp] as &dyn re_types_core::AsComponents).as_component_batches(); +/// let _ = (&[comp] as &dyn re_types_core::AsComponents).as_serialized_batches(); /// ``` #[allow(dead_code)] #[allow(rustdoc::private_doc_tests)] // doc-tests are the only way to assert failed compilation @@ -212,7 +143,7 @@ fn single_ascomponents_wrapped() { /// ```compile_fail /// let comp = re_types_core::components::ClearIsRecursive::default(); -/// let _ = (&[comp, comp, comp] as &dyn re_types_core::AsComponents).as_component_batches(); +/// let _ = (&[comp, comp, comp] as &dyn re_types_core::AsComponents).as_serialized_batches(); /// ``` #[allow(dead_code)] #[allow(rustdoc::private_doc_tests)] // doc-tests are the only way to assert failed compilation @@ -224,7 +155,7 @@ fn single_ascomponents_wrapped_many() { /// ```compile_fail /// let comp = re_types_core::components::ClearIsRecursive::default(); /// let comps = vec![comp, comp, comp]; -/// let _ = (&comps as &dyn re_types_core::AsComponents).as_component_batches(); +/// let _ = (&comps as &dyn re_types_core::AsComponents).as_serialized_batches(); /// ``` #[allow(dead_code)] #[allow(rustdoc::private_doc_tests)] // doc-tests are the only way to assert failed compilation @@ -233,7 +164,7 @@ fn many_ascomponents() {} /// ```compile_fail /// let comp = re_types_core::components::ClearIsRecursive::default(); /// let comps = vec![comp, comp, comp]; -/// let _ = (&[comps] as &dyn re_types_core::AsComponents).as_component_batches(); +/// let _ = (&[comps] as &dyn re_types_core::AsComponents).as_serialized_batches(); /// ``` #[allow(dead_code)] #[allow(rustdoc::private_doc_tests)] // doc-tests are the only way to assert failed compilation @@ -251,7 +182,7 @@ fn many_componentbatch_wrapped() {} /// ```compile_fail /// let comp = re_types_core::components::ClearIsRecursive::default(); /// let comps = vec![comp, comp, comp]; -/// let _ = (&[comps.clone(), comps.clone(), comps.clone()] as &dyn re_types_core::AsComponents).as_component_batches(); +/// let _ = (&[comps.clone(), comps.clone(), comps.clone()] as &dyn re_types_core::AsComponents).as_serialized_batches(); /// ``` #[allow(dead_code)] #[allow(rustdoc::private_doc_tests)] // doc-tests are the only way to assert failed compilation @@ -340,11 +271,7 @@ mod tests { let got = { let red = &red as &dyn crate::ComponentBatch; - (&[red] as &dyn crate::AsComponents) - .as_serialized_batches() - .into_iter() - .map(|batch| batch.array) - .collect_vec() + vec![red.try_serialized().unwrap().array] }; let expected = vec![ Arc::new(ArrowPrimitiveArray::::from(vec![red.0])) as Arc, @@ -371,11 +298,7 @@ mod tests { let got = { let red = &red as &dyn crate::ComponentBatch; - (&[red] as &dyn crate::AsComponents) - .as_serialized_batches() - .into_iter() - .map(|batch| batch.array) - .collect_vec() + vec![red.try_serialized().unwrap().array] }; let expected = vec![ Arc::new(ArrowPrimitiveArray::::from(vec![red.0])) as Arc, @@ -404,11 +327,14 @@ mod tests { let red = &red as &dyn crate::ComponentBatch; let green = &green as &dyn crate::ComponentBatch; let blue = &blue as &dyn crate::ComponentBatch; - (&[red, green, blue] as &dyn crate::AsComponents) - .as_serialized_batches() - .into_iter() - .map(|batch| batch.array) - .collect_vec() + [ + red.try_serialized().unwrap(), + green.try_serialized().unwrap(), + blue.try_serialized().unwrap(), + ] + .into_iter() + .map(|batch| batch.array) + .collect_vec() }; let expected = vec![ Arc::new(ArrowPrimitiveArray::::from(vec![red.0])) as Arc, @@ -452,11 +378,7 @@ mod tests { let got = { let colors = &colors as &dyn crate::ComponentBatch; - (&[colors] as &dyn crate::AsComponents) - .as_serialized_batches() - .into_iter() - .map(|batch| batch.array) - .collect_vec() + vec![colors.try_serialized().unwrap().array] }; let expected = vec![Arc::new(ArrowPrimitiveArray::::from(vec![ red.0, green.0, blue.0, @@ -471,11 +393,11 @@ mod tests { // Nothing out of the ordinary here, a collection of batches is indeed a collection of batches. let got = { let colors = &colors as &dyn crate::ComponentBatch; - (&[colors, colors, colors] as &dyn crate::AsComponents) - .as_serialized_batches() - .into_iter() - .map(|batch| batch.array) - .collect_vec() + vec![ + colors.try_serialized().unwrap().array, + colors.try_serialized().unwrap().array, + colors.try_serialized().unwrap().array, + ] }; let expected = vec![ Arc::new(ArrowPrimitiveArray::::from(vec![ diff --git a/crates/store/re_types_core/src/components/clear_is_recursive.rs b/crates/store/re_types_core/src/components/clear_is_recursive.rs index bea7656bbd70..7c068d97d070 100644 --- a/crates/store/re_types_core/src/components/clear_is_recursive.rs +++ b/crates/store/re_types_core/src/components/clear_is_recursive.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/bool.rs b/crates/store/re_types_core/src/datatypes/bool.rs index 5b0449faf392..1eae19948728 100644 --- a/crates/store/re_types_core/src/datatypes/bool.rs +++ b/crates/store/re_types_core/src/datatypes/bool.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/entity_path.rs b/crates/store/re_types_core/src/datatypes/entity_path.rs index 82500a6eb71f..81fb6bda0ea3 100644 --- a/crates/store/re_types_core/src/datatypes/entity_path.rs +++ b/crates/store/re_types_core/src/datatypes/entity_path.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/float32.rs b/crates/store/re_types_core/src/datatypes/float32.rs index a896b9511961..a02985d0a8e6 100644 --- a/crates/store/re_types_core/src/datatypes/float32.rs +++ b/crates/store/re_types_core/src/datatypes/float32.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/float64.rs b/crates/store/re_types_core/src/datatypes/float64.rs index f37dd44c68c0..473b3ccf0f79 100644 --- a/crates/store/re_types_core/src/datatypes/float64.rs +++ b/crates/store/re_types_core/src/datatypes/float64.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/time_int.rs b/crates/store/re_types_core/src/datatypes/time_int.rs index 0e4140163f6a..7fe9a8ac868e 100644 --- a/crates/store/re_types_core/src/datatypes/time_int.rs +++ b/crates/store/re_types_core/src/datatypes/time_int.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/time_range.rs b/crates/store/re_types_core/src/datatypes/time_range.rs index bb531e04c3bb..fec4ef2552af 100644 --- a/crates/store/re_types_core/src/datatypes/time_range.rs +++ b/crates/store/re_types_core/src/datatypes/time_range.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/time_range_boundary.rs b/crates/store/re_types_core/src/datatypes/time_range_boundary.rs index 00dbf2167aeb..9c2c8e9bd236 100644 --- a/crates/store/re_types_core/src/datatypes/time_range_boundary.rs +++ b/crates/store/re_types_core/src/datatypes/time_range_boundary.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/uint16.rs b/crates/store/re_types_core/src/datatypes/uint16.rs index 5f5454b8f398..e89f030d348e 100644 --- a/crates/store/re_types_core/src/datatypes/uint16.rs +++ b/crates/store/re_types_core/src/datatypes/uint16.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/uint32.rs b/crates/store/re_types_core/src/datatypes/uint32.rs index 7ea217ece7dc..525f31272119 100644 --- a/crates/store/re_types_core/src/datatypes/uint32.rs +++ b/crates/store/re_types_core/src/datatypes/uint32.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/uint64.rs b/crates/store/re_types_core/src/datatypes/uint64.rs index 278a18839f90..ea8b6c64a134 100644 --- a/crates/store/re_types_core/src/datatypes/uint64.rs +++ b/crates/store/re_types_core/src/datatypes/uint64.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/utf8.rs b/crates/store/re_types_core/src/datatypes/utf8.rs index a55595ac30e0..0f72b8919528 100644 --- a/crates/store/re_types_core/src/datatypes/utf8.rs +++ b/crates/store/re_types_core/src/datatypes/utf8.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/datatypes/visible_time_range.rs b/crates/store/re_types_core/src/datatypes/visible_time_range.rs index d666d25e3a63..029661a6cf3b 100644 --- a/crates/store/re_types_core/src/datatypes/visible_time_range.rs +++ b/crates/store/re_types_core/src/datatypes/visible_time_range.rs @@ -14,7 +14,7 @@ use crate::try_serialize_field; use crate::SerializationResult; -use crate::{ComponentBatch, ComponentBatchCowWithDescriptor, SerializedComponentBatch}; +use crate::{ComponentBatch, SerializedComponentBatch}; use crate::{ComponentDescriptor, ComponentName}; use crate::{DeserializationError, DeserializationResult}; diff --git a/crates/store/re_types_core/src/lib.rs b/crates/store/re_types_core/src/lib.rs index 4a4354bc42ae..92dec6e9b686 100644 --- a/crates/store/re_types_core/src/lib.rs +++ b/crates/store/re_types_core/src/lib.rs @@ -48,8 +48,7 @@ pub use self::{ UnorderedComponentNameSet, }, loggable_batch::{ - ComponentBatch, ComponentBatchCow, ComponentBatchCowWithDescriptor, LoggableBatch, - SerializedComponentBatch, SerializedComponentColumn, + ComponentBatch, LoggableBatch, SerializedComponentBatch, SerializedComponentColumn, }, result::{ DeserializationError, DeserializationResult, ResultExt, SerializationError, @@ -192,27 +191,21 @@ pub fn try_serialize_field( #[doc(hidden)] // public so we can access it from re_types too pub fn indicator_column( num_rows: usize, -) -> SerializationResult> { - let indicator: Option = A::indicator().serialized().map(Into::into); - - indicator - .map(|column| { - let SerializedComponentColumn { - list_array, - descriptor, - } = column; - - let (field, _offsets, values, _nulls) = list_array.into_parts(); - - let offsets = arrow::buffer::OffsetBuffer::new_zeroed(num_rows); - let nulls = None; - - arrow::array::ListArray::try_new(field, offsets, values, nulls) - .map(|list_array| SerializedComponentColumn { - list_array, - descriptor, - }) - .map_err(Into::into) +) -> SerializationResult { + let SerializedComponentColumn { + list_array, + descriptor, + } = A::indicator().into(); + + let (field, _offsets, values, _nulls) = list_array.into_parts(); + + let offsets = arrow::buffer::OffsetBuffer::new_zeroed(num_rows); + let nulls = None; + + arrow::array::ListArray::try_new(field, offsets, values, nulls) + .map(|list_array| SerializedComponentColumn { + list_array, + descriptor, }) - .transpose() + .map_err(Into::into) } diff --git a/crates/store/re_types_core/src/loggable_batch.rs b/crates/store/re_types_core/src/loggable_batch.rs index f483c97f0dd6..9b2b586f7b5e 100644 --- a/crates/store/re_types_core/src/loggable_batch.rs +++ b/crates/store/re_types_core/src/loggable_batch.rs @@ -52,21 +52,6 @@ pub trait ComponentBatch: LoggableBatch { /// Every component batch is uniquely identified by its [`ComponentDescriptor`]. fn descriptor(&self) -> Cow<'_, ComponentDescriptor>; - // Wraps the current [`ComponentBatch`] with the given descriptor. - // - // TODO(cmc): This should probably go away, but we'll see about that once I start tackling - // partial updates themselves. - fn with_descriptor( - &self, - descriptor: ComponentDescriptor, - ) -> ComponentBatchCowWithDescriptor<'_> - where - Self: Sized, - { - ComponentBatchCowWithDescriptor::new(ComponentBatchCow::Ref(self as &dyn ComponentBatch)) - .with_descriptor_override(descriptor) - } - /// Serializes the contents of this [`ComponentBatch`]. /// /// Once serialized, the data is ready to be logged into Rerun via the [`AsComponents`] trait. @@ -350,119 +335,6 @@ impl From<&SerializedComponentBatch> for arrow::datatypes::Field { } } -// --- - -// TODO(cmc): All these crazy types are about to disappear. ComponentBatch should only live at the -// edge, and therefore not require all these crazy kinds of derivatives (require eager serialization). - -/// Some [`ComponentBatch`], optionally with an overridden [`ComponentDescriptor`]. -/// -/// Used by implementers of [`crate::AsComponents`] to both efficiently expose their component data -/// and assign the right tags given the surrounding context. -pub struct ComponentBatchCowWithDescriptor<'a> { - /// The component data. - pub batch: ComponentBatchCow<'a>, - - /// If set, will override the [`ComponentBatch`]'s [`ComponentDescriptor`]. - pub descriptor_override: Option, -} - -impl<'a> From> for ComponentBatchCowWithDescriptor<'a> { - #[inline] - fn from(batch: ComponentBatchCow<'a>) -> Self { - Self::new(batch) - } -} - -impl<'a> ComponentBatchCowWithDescriptor<'a> { - #[inline] - pub fn new(batch: impl Into>) -> Self { - Self { - batch: batch.into(), - descriptor_override: None, - } - } - - #[inline] - pub fn with_descriptor_override(self, descriptor: ComponentDescriptor) -> Self { - Self { - descriptor_override: Some(descriptor), - ..self - } - } -} - -impl LoggableBatch for ComponentBatchCowWithDescriptor<'_> { - #[inline] - fn to_arrow(&self) -> SerializationResult { - self.batch.to_arrow() - } -} - -impl ComponentBatch for ComponentBatchCowWithDescriptor<'_> { - #[inline] - fn descriptor(&self) -> Cow<'_, ComponentDescriptor> { - self.descriptor_override - .as_ref() - .map(Into::into) - .unwrap_or_else(|| self.batch.descriptor()) - } - - #[inline] - fn name(&self) -> ComponentName { - self.batch.name() - } -} - -/// Holds either an owned [`ComponentBatch`] that lives on heap, or a reference to one. -/// -/// This doesn't use [`std::borrow::Cow`] on purpose: `Cow` requires `Clone`, which would break -/// object-safety, which would prevent us from erasing [`ComponentBatch`]s in the first place. -pub enum ComponentBatchCow<'a> { - Owned(Box), - Ref(&'a dyn ComponentBatch), -} - -impl<'a> From<&'a dyn ComponentBatch> for ComponentBatchCow<'a> { - #[inline] - fn from(comp_batch: &'a dyn ComponentBatch) -> Self { - Self::Ref(comp_batch) - } -} - -impl From> for ComponentBatchCow<'_> { - #[inline] - fn from(comp_batch: Box) -> Self { - Self::Owned(comp_batch) - } -} - -impl<'a> std::ops::Deref for ComponentBatchCow<'a> { - type Target = dyn ComponentBatch + 'a; - - #[inline] - fn deref(&self) -> &(dyn ComponentBatch + 'a) { - match self { - ComponentBatchCow::Owned(this) => &**this, - ComponentBatchCow::Ref(this) => *this, - } - } -} - -impl LoggableBatch for ComponentBatchCow<'_> { - #[inline] - fn to_arrow(&self) -> SerializationResult { - (**self).to_arrow() - } -} - -impl ComponentBatch for ComponentBatchCow<'_> { - #[inline] - fn descriptor(&self) -> Cow<'_, ComponentDescriptor> { - (**self).descriptor() - } -} - // --- Unary --- impl LoggableBatch for L { diff --git a/crates/top/re_sdk/src/lib.rs b/crates/top/re_sdk/src/lib.rs index f353c8dc7201..0a2d442ac185 100644 --- a/crates/top/re_sdk/src/lib.rs +++ b/crates/top/re_sdk/src/lib.rs @@ -94,11 +94,10 @@ pub mod time { pub use time::{Time, TimePoint, Timeline}; pub use re_types_core::{ - Archetype, ArchetypeName, AsComponents, Component, ComponentBatch, ComponentBatchCow, - ComponentBatchCowWithDescriptor, ComponentDescriptor, ComponentName, DatatypeName, - DeserializationError, DeserializationResult, GenericIndicatorComponent, Loggable, - LoggableBatch, NamedIndicatorComponent, SerializationError, SerializationResult, - SerializedComponentBatch, SerializedComponentColumn, + Archetype, ArchetypeName, AsComponents, Component, ComponentBatch, ComponentDescriptor, + ComponentName, DatatypeName, DeserializationError, DeserializationResult, + GenericIndicatorComponent, Loggable, LoggableBatch, NamedIndicatorComponent, + SerializationError, SerializationResult, SerializedComponentBatch, SerializedComponentColumn, }; pub use re_byte_size::SizeBytes; diff --git a/crates/top/re_sdk/src/recording_stream.rs b/crates/top/re_sdk/src/recording_stream.rs index 1b63d51d6e82..8348ab5e2ecc 100644 --- a/crates/top/re_sdk/src/recording_stream.rs +++ b/crates/top/re_sdk/src/recording_stream.rs @@ -1086,79 +1086,6 @@ impl RecordingStream { ) } - /// Logs a set of [`re_types_core::ComponentBatch`]es into Rerun. - /// - /// If `static_` is set to `true`, all timestamp data associated with this message will be - /// dropped right before sending it to Rerun. - /// Static data has no time associated with it, exists on all timelines, and unconditionally shadows - /// any temporal data of the same type. - /// - /// Otherwise, the data will be timestamped automatically based on the [`RecordingStream`]'s - /// internal clock. - /// See `RecordingStream::set_time_*` family of methods for more information. - /// - /// The number of instances will be determined by the longest batch in the bundle. - /// - /// The entity path can either be a string - /// (with special characters escaped, split on unescaped slashes) - /// or an [`EntityPath`] constructed with [`crate::entity_path`]. - /// See for more on entity paths. - /// - /// Internally, the stream will automatically micro-batch multiple log calls to optimize - /// transport. - /// See [SDK Micro Batching] for more information. - /// - /// [SDK Micro Batching]: https://www.rerun.io/docs/reference/sdk/micro-batching - #[deprecated(since = "0.22.0", note = "use log_serialized_batches instead")] - pub fn log_component_batches<'a>( - &self, - ent_path: impl Into, - static_: bool, - comp_batches: impl IntoIterator, - ) -> RecordingStreamResult<()> { - let row_id = RowId::new(); // Create row-id as early as possible. It has a timestamp and is used to estimate e2e latency. - self.log_component_batches_impl(row_id, ent_path, static_, comp_batches) - } - - fn log_component_batches_impl<'a>( - &self, - row_id: RowId, - entity_path: impl Into, - static_: bool, - comp_batches: impl IntoIterator, - ) -> RecordingStreamResult<()> { - if !self.is_enabled() { - return Ok(()); // silently drop the message - } - - let entity_path = entity_path.into(); - - let comp_batches: Result, _> = comp_batches - .into_iter() - .map(|comp_batch| { - comp_batch - .to_arrow() - .map(|array| (comp_batch.descriptor().into_owned(), array)) - }) - .collect(); - let components: IntMap<_, _> = comp_batches?.into_iter().collect(); - - // NOTE: The timepoint is irrelevant, the `RecordingStream` will overwrite it using its - // internal clock. - let timepoint = TimePoint::default(); - - if !components.is_empty() { - let row = PendingRow { - row_id, - timepoint, - components, - }; - self.record_row(entity_path, row, !static_); - } - - Ok(()) - } - /// Logs a set of [`SerializedComponentBatch`]es into Rerun. /// /// If `static_` is set to `true`, all timestamp data associated with this message will be @@ -2658,7 +2585,8 @@ mod tests { .unwrap(); // This call used to *not* compile due to a lack of `?Sized` bounds. - rec.log("labels", &labels as &dyn crate::ComponentBatch) + use re_types_core::ComponentBatch as _; + rec.log("labels", &labels.try_serialized().unwrap()) .unwrap(); } } diff --git a/crates/viewer/re_data_ui/src/instance_path.rs b/crates/viewer/re_data_ui/src/instance_path.rs index dd3f07dae494..c7e5092329c0 100644 --- a/crates/viewer/re_data_ui/src/instance_path.rs +++ b/crates/viewer/re_data_ui/src/instance_path.rs @@ -8,7 +8,7 @@ use re_types::{ archetypes, components, datatypes::{ChannelDatatype, ColorModel}, image::ImageKind, - Archetype, Component, ComponentName, + Component, ComponentName, }; use re_ui::UiExt as _; use re_viewer_context::{ @@ -301,13 +301,13 @@ fn preview_if_image_ui( .ok()?; // TODO(#8129): it's ugly but indicators are going away next anyway. - let kind = if component_map.contains_key(&re_types_core::ComponentBatch::name( - &archetypes::DepthImage::indicator(), - )) { + let kind = if component_map + .contains_key(&archetypes::DepthImage::descriptor_indicator().component_name) + { ImageKind::Depth - } else if component_map.contains_key(&re_types_core::ComponentBatch::name( - &archetypes::SegmentationImage::indicator(), - )) { + } else if component_map + .contains_key(&archetypes::SegmentationImage::descriptor_indicator().component_name) + { ImageKind::Segmentation } else { ImageKind::Color diff --git a/crates/viewer/re_view_spatial/src/view_2d.rs b/crates/viewer/re_view_spatial/src/view_2d.rs index 1949cfa043cb..3a33f48b884f 100644 --- a/crates/viewer/re_view_spatial/src/view_2d.rs +++ b/crates/viewer/re_view_spatial/src/view_2d.rs @@ -7,7 +7,7 @@ use re_types::View; use re_types::{ archetypes::{DepthImage, Image}, blueprint::archetypes::{Background, NearClipPlane, VisualBounds2D}, - Archetype, ComponentName, ViewClassIdentifier, + ComponentName, ViewClassIdentifier, }; use re_ui::UiExt as _; use re_view::view_property_ui; @@ -367,13 +367,12 @@ fn recommended_views_with_image_splits( &mut found_image_dimensions, ); - use re_types::ComponentBatch as _; let image_count = count_non_nested_images_with_component( image_dimensions, entities, ctx.recording(), subtree, - &Image::indicator().name(), + &Image::descriptor_indicator().component_name, ); let depth_count = count_non_nested_images_with_component( @@ -381,7 +380,7 @@ fn recommended_views_with_image_splits( entities, ctx.recording(), subtree, - &DepthImage::indicator().name(), + &DepthImage::descriptor_indicator().component_name, ); let video_count = count_non_nested_images_with_component( @@ -389,7 +388,7 @@ fn recommended_views_with_image_splits( entities, ctx.recording(), subtree, - &re_types::archetypes::AssetVideo::indicator().name(), + &re_types::archetypes::AssetVideo::descriptor_indicator().component_name, ); let all_have_same_size = found_image_dimensions.len() <= 1; diff --git a/crates/viewer/re_view_time_series/src/line_visualizer_system.rs b/crates/viewer/re_view_time_series/src/line_visualizer_system.rs index d8b88011e8ef..baf5fb8d79b0 100644 --- a/crates/viewer/re_view_time_series/src/line_visualizer_system.rs +++ b/crates/viewer/re_view_time_series/src/line_visualizer_system.rs @@ -44,8 +44,8 @@ impl VisualizerSystem for SeriesLineSystem { .map(|descr| descr.component_name), ); - use re_types::ComponentBatch as _; - query_info.indicators = std::iter::once(SeriesLine::indicator().name()).collect(); + query_info.indicators = + std::iter::once(SeriesLine::descriptor_indicator().component_name).collect(); query_info } diff --git a/crates/viewer/re_view_time_series/src/point_visualizer_system.rs b/crates/viewer/re_view_time_series/src/point_visualizer_system.rs index 94810b6e1b8a..08ad127eb5e7 100644 --- a/crates/viewer/re_view_time_series/src/point_visualizer_system.rs +++ b/crates/viewer/re_view_time_series/src/point_visualizer_system.rs @@ -44,8 +44,8 @@ impl VisualizerSystem for SeriesPointSystem { .map(|descr| descr.component_name), ); - use re_types::ComponentBatch as _; - query_info.indicators = std::iter::once(SeriesPoint::indicator().name()).collect(); + query_info.indicators = + std::iter::once(SeriesPoint::descriptor_indicator().component_name).collect(); query_info } diff --git a/crates/viewer/re_viewer_context/src/view/visualizer_system.rs b/crates/viewer/re_viewer_context/src/view/visualizer_system.rs index 64e933e87964..7307798f0419 100644 --- a/crates/viewer/re_viewer_context/src/view/visualizer_system.rs +++ b/crates/viewer/re_viewer_context/src/view/visualizer_system.rs @@ -54,15 +54,14 @@ pub struct VisualizerQueryInfo { } impl VisualizerQueryInfo { - pub fn from_archetype() -> Self { - use re_types_core::ComponentBatch as _; + pub fn from_archetype() -> Self { Self { - indicators: std::iter::once(T::indicator().name()).collect(), - required: T::required_components() + indicators: std::iter::once(A::indicator().descriptor.component_name).collect(), + required: A::required_components() .iter() .map(|descr| descr.component_name) .collect(), - queried: T::all_components() + queried: A::all_components() .iter() .map(|descr| descr.component_name) .collect(), diff --git a/docs/snippets/all/archetypes/mesh3d_partial_updates.rs b/docs/snippets/all/archetypes/mesh3d_partial_updates.rs index f3d2533b886a..b7d9eb14a7be 100644 --- a/docs/snippets/all/archetypes/mesh3d_partial_updates.rs +++ b/docs/snippets/all/archetypes/mesh3d_partial_updates.rs @@ -21,12 +21,15 @@ fn main() -> Result<(), Box> { rec.set_time_sequence("frame", i); let factor = (i as f32 * 0.04).sin().abs(); - let vertex_positions: [rerun::Position3D; 3] = [ - (glam::Vec3::from(vertex_positions[0]) * factor).into(), - (glam::Vec3::from(vertex_positions[1]) * factor).into(), - (glam::Vec3::from(vertex_positions[2]) * factor).into(), + let vertex_positions = [ + (glam::Vec3::from(vertex_positions[0]) * factor), + (glam::Vec3::from(vertex_positions[1]) * factor), + (glam::Vec3::from(vertex_positions[2]) * factor), ]; - rec.log("triangle", &vertex_positions as &dyn rerun::ComponentBatch)?; + rec.log( + "triangle", + &rerun::Mesh3D::update_fields().with_vertex_positions(vertex_positions), + )?; } Ok(()) diff --git a/docs/snippets/all/concepts/different_data_per_timeline.rs b/docs/snippets/all/concepts/different_data_per_timeline.rs index 0f13e9e4441b..2c1a2f42342f 100644 --- a/docs/snippets/all/concepts/different_data_per_timeline.rs +++ b/docs/snippets/all/concepts/different_data_per_timeline.rs @@ -13,7 +13,7 @@ fn main() -> Result<(), Box> { rec.set_time_seconds("red timeline", 1.0); rec.log( "points", - &[&rerun::components::Color::from_u32(0xFF0000FF) as &dyn rerun::ComponentBatch], + &rerun::Points2D::update_fields().with_colors([0xFF0000FF]), )?; // And a blue color on the other. @@ -21,7 +21,7 @@ fn main() -> Result<(), Box> { rec.set_time_sequence("blue timeline", 1); rec.log( "points", - &[&rerun::components::Color::from_u32(0x0000FFFF) as &dyn rerun::ComponentBatch], + &rerun::Points2D::update_fields().with_colors([0x0000FFFF]), )?; // TODO(#5521): log VisualBounds2D diff --git a/docs/snippets/all/descriptors/descr_custom_archetype.rs b/docs/snippets/all/descriptors/descr_custom_archetype.rs index 83cab7434ce6..6bde8415329c 100644 --- a/docs/snippets/all/descriptors/descr_custom_archetype.rs +++ b/docs/snippets/all/descriptors/descr_custom_archetype.rs @@ -26,16 +26,16 @@ impl CustomPoints3D { } impl rerun::AsComponents for CustomPoints3D { - fn as_component_batches(&self) -> Vec> { + fn as_serialized_batches(&self) -> Vec { [ - Some(Self::indicator().to_batch()), - Some( - self.positions - .with_descriptor(Self::overridden_position_descriptor()), - ), + Self::indicator().serialized(), + self.positions.serialized().map(|positions| { + positions.with_descriptor_override(Self::overridden_position_descriptor()) + }), self.colors .as_ref() - .map(|colors| colors.with_descriptor(Self::overridden_color_descriptor())), + .and_then(|colors| colors.serialized()) + .map(|colors| colors.with_descriptor_override(Self::overridden_color_descriptor())), ] .into_iter() .flatten() diff --git a/examples/rust/custom_view/src/color_coordinates_visualizer_system.rs b/examples/rust/custom_view/src/color_coordinates_visualizer_system.rs index 4f9f20bfe955..d65fa2c481f7 100644 --- a/examples/rust/custom_view/src/color_coordinates_visualizer_system.rs +++ b/examples/rust/custom_view/src/color_coordinates_visualizer_system.rs @@ -25,6 +25,12 @@ struct ColorArchetype; impl re_types::Archetype for ColorArchetype { type Indicator = re_types::GenericIndicatorComponent; + fn indicator() -> re_types::SerializedComponentBatch { + use re_types::ComponentBatch as _; + #[allow(clippy::unwrap_used)] + Self::Indicator::default().serialized().unwrap() + } + fn name() -> re_types::ArchetypeName { "InstanceColor".into() }