Struct re_types::testing::archetypes::AffixFuzzer2
source · pub struct AffixFuzzer2 {Show 19 fields
pub fuzz1101: Option<SerializedComponentBatch>,
pub fuzz1102: Option<SerializedComponentBatch>,
pub fuzz1103: Option<SerializedComponentBatch>,
pub fuzz1104: Option<SerializedComponentBatch>,
pub fuzz1105: Option<SerializedComponentBatch>,
pub fuzz1106: Option<SerializedComponentBatch>,
pub fuzz1107: Option<SerializedComponentBatch>,
pub fuzz1108: Option<SerializedComponentBatch>,
pub fuzz1109: Option<SerializedComponentBatch>,
pub fuzz1110: Option<SerializedComponentBatch>,
pub fuzz1111: Option<SerializedComponentBatch>,
pub fuzz1112: Option<SerializedComponentBatch>,
pub fuzz1113: Option<SerializedComponentBatch>,
pub fuzz1114: Option<SerializedComponentBatch>,
pub fuzz1115: Option<SerializedComponentBatch>,
pub fuzz1116: Option<SerializedComponentBatch>,
pub fuzz1117: Option<SerializedComponentBatch>,
pub fuzz1118: Option<SerializedComponentBatch>,
pub fuzz1122: Option<SerializedComponentBatch>,
}
Fields§
§fuzz1101: Option<SerializedComponentBatch>
§fuzz1102: Option<SerializedComponentBatch>
§fuzz1103: Option<SerializedComponentBatch>
§fuzz1104: Option<SerializedComponentBatch>
§fuzz1105: Option<SerializedComponentBatch>
§fuzz1106: Option<SerializedComponentBatch>
§fuzz1107: Option<SerializedComponentBatch>
§fuzz1108: Option<SerializedComponentBatch>
§fuzz1109: Option<SerializedComponentBatch>
§fuzz1110: Option<SerializedComponentBatch>
§fuzz1111: Option<SerializedComponentBatch>
§fuzz1112: Option<SerializedComponentBatch>
§fuzz1113: Option<SerializedComponentBatch>
§fuzz1114: Option<SerializedComponentBatch>
§fuzz1115: Option<SerializedComponentBatch>
§fuzz1116: Option<SerializedComponentBatch>
§fuzz1117: Option<SerializedComponentBatch>
§fuzz1118: Option<SerializedComponentBatch>
§fuzz1122: Option<SerializedComponentBatch>
Implementations§
source§impl AffixFuzzer2
impl AffixFuzzer2
sourcepub fn descriptor_fuzz1101() -> ComponentDescriptor
pub fn descriptor_fuzz1101() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1101
.
sourcepub fn descriptor_fuzz1102() -> ComponentDescriptor
pub fn descriptor_fuzz1102() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1102
.
sourcepub fn descriptor_fuzz1103() -> ComponentDescriptor
pub fn descriptor_fuzz1103() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1103
.
sourcepub fn descriptor_fuzz1104() -> ComponentDescriptor
pub fn descriptor_fuzz1104() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1104
.
sourcepub fn descriptor_fuzz1105() -> ComponentDescriptor
pub fn descriptor_fuzz1105() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1105
.
sourcepub fn descriptor_fuzz1106() -> ComponentDescriptor
pub fn descriptor_fuzz1106() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1106
.
sourcepub fn descriptor_fuzz1107() -> ComponentDescriptor
pub fn descriptor_fuzz1107() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1107
.
sourcepub fn descriptor_fuzz1108() -> ComponentDescriptor
pub fn descriptor_fuzz1108() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1108
.
sourcepub fn descriptor_fuzz1109() -> ComponentDescriptor
pub fn descriptor_fuzz1109() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1109
.
sourcepub fn descriptor_fuzz1110() -> ComponentDescriptor
pub fn descriptor_fuzz1110() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1110
.
sourcepub fn descriptor_fuzz1111() -> ComponentDescriptor
pub fn descriptor_fuzz1111() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1111
.
sourcepub fn descriptor_fuzz1112() -> ComponentDescriptor
pub fn descriptor_fuzz1112() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1112
.
sourcepub fn descriptor_fuzz1113() -> ComponentDescriptor
pub fn descriptor_fuzz1113() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1113
.
sourcepub fn descriptor_fuzz1114() -> ComponentDescriptor
pub fn descriptor_fuzz1114() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1114
.
sourcepub fn descriptor_fuzz1115() -> ComponentDescriptor
pub fn descriptor_fuzz1115() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1115
.
sourcepub fn descriptor_fuzz1116() -> ComponentDescriptor
pub fn descriptor_fuzz1116() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1116
.
sourcepub fn descriptor_fuzz1117() -> ComponentDescriptor
pub fn descriptor_fuzz1117() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1117
.
sourcepub fn descriptor_fuzz1118() -> ComponentDescriptor
pub fn descriptor_fuzz1118() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1118
.
sourcepub fn descriptor_fuzz1122() -> ComponentDescriptor
pub fn descriptor_fuzz1122() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz1122
.
sourcepub fn descriptor_indicator() -> ComponentDescriptor
pub fn descriptor_indicator() -> ComponentDescriptor
Returns the ComponentDescriptor
for the associated indicator component.
source§impl AffixFuzzer2
impl AffixFuzzer2
sourcepub const NUM_COMPONENTS: usize = 20usize
pub const NUM_COMPONENTS: usize = 20usize
The total number of components in the archetype: 19 required, 1 recommended, 0 optional
source§impl AffixFuzzer2
impl AffixFuzzer2
sourcepub fn new(
fuzz1101: impl IntoIterator<Item = impl Into<AffixFuzzer1>>,
fuzz1102: impl IntoIterator<Item = impl Into<AffixFuzzer2>>,
fuzz1103: impl IntoIterator<Item = impl Into<AffixFuzzer3>>,
fuzz1104: impl IntoIterator<Item = impl Into<AffixFuzzer4>>,
fuzz1105: impl IntoIterator<Item = impl Into<AffixFuzzer5>>,
fuzz1106: impl IntoIterator<Item = impl Into<AffixFuzzer6>>,
fuzz1107: impl IntoIterator<Item = impl Into<AffixFuzzer7>>,
fuzz1108: impl IntoIterator<Item = impl Into<AffixFuzzer8>>,
fuzz1109: impl IntoIterator<Item = impl Into<AffixFuzzer9>>,
fuzz1110: impl IntoIterator<Item = impl Into<AffixFuzzer10>>,
fuzz1111: impl IntoIterator<Item = impl Into<AffixFuzzer11>>,
fuzz1112: impl IntoIterator<Item = impl Into<AffixFuzzer12>>,
fuzz1113: impl IntoIterator<Item = impl Into<AffixFuzzer13>>,
fuzz1114: impl IntoIterator<Item = impl Into<AffixFuzzer14>>,
fuzz1115: impl IntoIterator<Item = impl Into<AffixFuzzer15>>,
fuzz1116: impl IntoIterator<Item = impl Into<AffixFuzzer16>>,
fuzz1117: impl IntoIterator<Item = impl Into<AffixFuzzer17>>,
fuzz1118: impl IntoIterator<Item = impl Into<AffixFuzzer18>>,
fuzz1122: impl IntoIterator<Item = impl Into<AffixFuzzer22>>,
) -> Self
pub fn new( fuzz1101: impl IntoIterator<Item = impl Into<AffixFuzzer1>>, fuzz1102: impl IntoIterator<Item = impl Into<AffixFuzzer2>>, fuzz1103: impl IntoIterator<Item = impl Into<AffixFuzzer3>>, fuzz1104: impl IntoIterator<Item = impl Into<AffixFuzzer4>>, fuzz1105: impl IntoIterator<Item = impl Into<AffixFuzzer5>>, fuzz1106: impl IntoIterator<Item = impl Into<AffixFuzzer6>>, fuzz1107: impl IntoIterator<Item = impl Into<AffixFuzzer7>>, fuzz1108: impl IntoIterator<Item = impl Into<AffixFuzzer8>>, fuzz1109: impl IntoIterator<Item = impl Into<AffixFuzzer9>>, fuzz1110: impl IntoIterator<Item = impl Into<AffixFuzzer10>>, fuzz1111: impl IntoIterator<Item = impl Into<AffixFuzzer11>>, fuzz1112: impl IntoIterator<Item = impl Into<AffixFuzzer12>>, fuzz1113: impl IntoIterator<Item = impl Into<AffixFuzzer13>>, fuzz1114: impl IntoIterator<Item = impl Into<AffixFuzzer14>>, fuzz1115: impl IntoIterator<Item = impl Into<AffixFuzzer15>>, fuzz1116: impl IntoIterator<Item = impl Into<AffixFuzzer16>>, fuzz1117: impl IntoIterator<Item = impl Into<AffixFuzzer17>>, fuzz1118: impl IntoIterator<Item = impl Into<AffixFuzzer18>>, fuzz1122: impl IntoIterator<Item = impl Into<AffixFuzzer22>>, ) -> Self
Create a new AffixFuzzer2
.
sourcepub fn update_fields() -> Self
pub fn update_fields() -> Self
Update only some specific fields of a AffixFuzzer2
.
sourcepub fn clear_fields() -> Self
pub fn clear_fields() -> Self
Clear all the fields of a AffixFuzzer2
.
sourcepub fn columns<I>(
self,
_lengths: I,
) -> SerializationResult<impl Iterator<Item = SerializedComponentColumn>>
pub fn columns<I>( self, _lengths: I, ) -> SerializationResult<impl Iterator<Item = SerializedComponentColumn>>
Partitions the component data into multiple sub-batches.
Specifically, this transforms the existing SerializedComponentBatch
es data into SerializedComponentColumn
s
instead, via SerializedComponentBatch::partitioned
.
This makes it possible to use RecordingStream::send_columns
to send columnar data directly into Rerun.
The specified lengths
must sum to the total length of the component batch.
sourcepub fn columns_of_unit_batches(
self,
) -> SerializationResult<impl Iterator<Item = SerializedComponentColumn>>
pub fn columns_of_unit_batches( self, ) -> SerializationResult<impl Iterator<Item = SerializedComponentColumn>>
Helper to partition the component data into unit-length sub-batches.
This is semantically similar to calling Self::columns
with std::iter::take(1).repeat(n)
,
where n
is automatically guessed.
pub fn with_fuzz1101( self, fuzz1101: impl IntoIterator<Item = impl Into<AffixFuzzer1>>, ) -> Self
pub fn with_fuzz1102( self, fuzz1102: impl IntoIterator<Item = impl Into<AffixFuzzer2>>, ) -> Self
pub fn with_fuzz1103( self, fuzz1103: impl IntoIterator<Item = impl Into<AffixFuzzer3>>, ) -> Self
pub fn with_fuzz1104( self, fuzz1104: impl IntoIterator<Item = impl Into<AffixFuzzer4>>, ) -> Self
pub fn with_fuzz1105( self, fuzz1105: impl IntoIterator<Item = impl Into<AffixFuzzer5>>, ) -> Self
pub fn with_fuzz1106( self, fuzz1106: impl IntoIterator<Item = impl Into<AffixFuzzer6>>, ) -> Self
pub fn with_fuzz1107( self, fuzz1107: impl IntoIterator<Item = impl Into<AffixFuzzer7>>, ) -> Self
pub fn with_fuzz1108( self, fuzz1108: impl IntoIterator<Item = impl Into<AffixFuzzer8>>, ) -> Self
pub fn with_fuzz1109( self, fuzz1109: impl IntoIterator<Item = impl Into<AffixFuzzer9>>, ) -> Self
pub fn with_fuzz1110( self, fuzz1110: impl IntoIterator<Item = impl Into<AffixFuzzer10>>, ) -> Self
pub fn with_fuzz1111( self, fuzz1111: impl IntoIterator<Item = impl Into<AffixFuzzer11>>, ) -> Self
pub fn with_fuzz1112( self, fuzz1112: impl IntoIterator<Item = impl Into<AffixFuzzer12>>, ) -> Self
pub fn with_fuzz1113( self, fuzz1113: impl IntoIterator<Item = impl Into<AffixFuzzer13>>, ) -> Self
pub fn with_fuzz1114( self, fuzz1114: impl IntoIterator<Item = impl Into<AffixFuzzer14>>, ) -> Self
pub fn with_fuzz1115( self, fuzz1115: impl IntoIterator<Item = impl Into<AffixFuzzer15>>, ) -> Self
pub fn with_fuzz1116( self, fuzz1116: impl IntoIterator<Item = impl Into<AffixFuzzer16>>, ) -> Self
pub fn with_fuzz1117( self, fuzz1117: impl IntoIterator<Item = impl Into<AffixFuzzer17>>, ) -> Self
pub fn with_fuzz1118( self, fuzz1118: impl IntoIterator<Item = impl Into<AffixFuzzer18>>, ) -> Self
pub fn with_fuzz1122( self, fuzz1122: impl IntoIterator<Item = impl Into<AffixFuzzer22>>, ) -> Self
Trait Implementations§
source§impl Archetype for AffixFuzzer2
impl Archetype for AffixFuzzer2
§type Indicator = GenericIndicatorComponent<AffixFuzzer2>
type Indicator = GenericIndicatorComponent<AffixFuzzer2>
source§fn name() -> ArchetypeName
fn name() -> ArchetypeName
rerun.archetypes.Points2D
.source§fn display_name() -> &'static str
fn display_name() -> &'static str
source§fn required_components() -> Cow<'static, [ComponentDescriptor]>
fn required_components() -> Cow<'static, [ComponentDescriptor]>
source§fn recommended_components() -> Cow<'static, [ComponentDescriptor]>
fn recommended_components() -> Cow<'static, [ComponentDescriptor]>
source§fn optional_components() -> Cow<'static, [ComponentDescriptor]>
fn optional_components() -> Cow<'static, [ComponentDescriptor]>
source§fn all_components() -> Cow<'static, [ComponentDescriptor]>
fn all_components() -> Cow<'static, [ComponentDescriptor]>
source§fn from_arrow_components(
arrow_data: impl IntoIterator<Item = (ComponentDescriptor, ArrayRef)>,
) -> DeserializationResult<Self>
fn from_arrow_components( arrow_data: impl IntoIterator<Item = (ComponentDescriptor, ArrayRef)>, ) -> DeserializationResult<Self>
ComponentNames
, deserializes them
into this archetype. Read moresource§fn from_arrow(
data: impl IntoIterator<Item = (Field, Arc<dyn Array>)>,
) -> Result<Self, DeserializationError>where
Self: Sized,
fn from_arrow(
data: impl IntoIterator<Item = (Field, Arc<dyn Array>)>,
) -> Result<Self, DeserializationError>where
Self: Sized,
source§impl AsComponents for AffixFuzzer2
impl AsComponents for AffixFuzzer2
source§fn as_serialized_batches(&self) -> Vec<SerializedComponentBatch>
fn as_serialized_batches(&self) -> Vec<SerializedComponentBatch>
SerializedComponentBatch
es. Read moresource§impl Clone for AffixFuzzer2
impl Clone for AffixFuzzer2
source§fn clone(&self) -> AffixFuzzer2
fn clone(&self) -> AffixFuzzer2
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AffixFuzzer2
impl Debug for AffixFuzzer2
source§impl Default for AffixFuzzer2
impl Default for AffixFuzzer2
source§fn default() -> AffixFuzzer2
fn default() -> AffixFuzzer2
source§impl PartialEq for AffixFuzzer2
impl PartialEq for AffixFuzzer2
source§fn eq(&self, other: &AffixFuzzer2) -> bool
fn eq(&self, other: &AffixFuzzer2) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl SizeBytes for AffixFuzzer2
impl SizeBytes for AffixFuzzer2
source§fn heap_size_bytes(&self) -> u64
fn heap_size_bytes(&self) -> u64
self
uses on the heap. Read moresource§fn total_size_bytes(&self) -> u64
fn total_size_bytes(&self) -> u64
self
in bytes, accounting for both stack and heap space.source§fn stack_size_bytes(&self) -> u64
fn stack_size_bytes(&self) -> u64
self
on the stack, in bytes. Read moreimpl ArchetypeReflectionMarker for AffixFuzzer2
impl StructuralPartialEq for AffixFuzzer2
Auto Trait Implementations§
impl Freeze for AffixFuzzer2
impl !RefUnwindSafe for AffixFuzzer2
impl Send for AffixFuzzer2
impl Sync for AffixFuzzer2
impl Unpin for AffixFuzzer2
impl !UnwindSafe for AffixFuzzer2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more