Struct re_types::testing::archetypes::AffixFuzzer3
source · pub struct AffixFuzzer3 {Show 18 fields
pub fuzz2001: Option<SerializedComponentBatch>,
pub fuzz2002: Option<SerializedComponentBatch>,
pub fuzz2003: Option<SerializedComponentBatch>,
pub fuzz2004: Option<SerializedComponentBatch>,
pub fuzz2005: Option<SerializedComponentBatch>,
pub fuzz2006: Option<SerializedComponentBatch>,
pub fuzz2007: Option<SerializedComponentBatch>,
pub fuzz2008: Option<SerializedComponentBatch>,
pub fuzz2009: Option<SerializedComponentBatch>,
pub fuzz2010: Option<SerializedComponentBatch>,
pub fuzz2011: Option<SerializedComponentBatch>,
pub fuzz2012: Option<SerializedComponentBatch>,
pub fuzz2013: Option<SerializedComponentBatch>,
pub fuzz2014: Option<SerializedComponentBatch>,
pub fuzz2015: Option<SerializedComponentBatch>,
pub fuzz2016: Option<SerializedComponentBatch>,
pub fuzz2017: Option<SerializedComponentBatch>,
pub fuzz2018: Option<SerializedComponentBatch>,
}
Fields§
§fuzz2001: Option<SerializedComponentBatch>
§fuzz2002: Option<SerializedComponentBatch>
§fuzz2003: Option<SerializedComponentBatch>
§fuzz2004: Option<SerializedComponentBatch>
§fuzz2005: Option<SerializedComponentBatch>
§fuzz2006: Option<SerializedComponentBatch>
§fuzz2007: Option<SerializedComponentBatch>
§fuzz2008: Option<SerializedComponentBatch>
§fuzz2009: Option<SerializedComponentBatch>
§fuzz2010: Option<SerializedComponentBatch>
§fuzz2011: Option<SerializedComponentBatch>
§fuzz2012: Option<SerializedComponentBatch>
§fuzz2013: Option<SerializedComponentBatch>
§fuzz2014: Option<SerializedComponentBatch>
§fuzz2015: Option<SerializedComponentBatch>
§fuzz2016: Option<SerializedComponentBatch>
§fuzz2017: Option<SerializedComponentBatch>
§fuzz2018: Option<SerializedComponentBatch>
Implementations§
source§impl AffixFuzzer3
impl AffixFuzzer3
sourcepub fn descriptor_fuzz2001() -> ComponentDescriptor
pub fn descriptor_fuzz2001() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2001
.
sourcepub fn descriptor_fuzz2002() -> ComponentDescriptor
pub fn descriptor_fuzz2002() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2002
.
sourcepub fn descriptor_fuzz2003() -> ComponentDescriptor
pub fn descriptor_fuzz2003() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2003
.
sourcepub fn descriptor_fuzz2004() -> ComponentDescriptor
pub fn descriptor_fuzz2004() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2004
.
sourcepub fn descriptor_fuzz2005() -> ComponentDescriptor
pub fn descriptor_fuzz2005() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2005
.
sourcepub fn descriptor_fuzz2006() -> ComponentDescriptor
pub fn descriptor_fuzz2006() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2006
.
sourcepub fn descriptor_fuzz2007() -> ComponentDescriptor
pub fn descriptor_fuzz2007() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2007
.
sourcepub fn descriptor_fuzz2008() -> ComponentDescriptor
pub fn descriptor_fuzz2008() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2008
.
sourcepub fn descriptor_fuzz2009() -> ComponentDescriptor
pub fn descriptor_fuzz2009() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2009
.
sourcepub fn descriptor_fuzz2010() -> ComponentDescriptor
pub fn descriptor_fuzz2010() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2010
.
sourcepub fn descriptor_fuzz2011() -> ComponentDescriptor
pub fn descriptor_fuzz2011() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2011
.
sourcepub fn descriptor_fuzz2012() -> ComponentDescriptor
pub fn descriptor_fuzz2012() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2012
.
sourcepub fn descriptor_fuzz2013() -> ComponentDescriptor
pub fn descriptor_fuzz2013() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2013
.
sourcepub fn descriptor_fuzz2014() -> ComponentDescriptor
pub fn descriptor_fuzz2014() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2014
.
sourcepub fn descriptor_fuzz2015() -> ComponentDescriptor
pub fn descriptor_fuzz2015() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2015
.
sourcepub fn descriptor_fuzz2016() -> ComponentDescriptor
pub fn descriptor_fuzz2016() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2016
.
sourcepub fn descriptor_fuzz2017() -> ComponentDescriptor
pub fn descriptor_fuzz2017() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2017
.
sourcepub fn descriptor_fuzz2018() -> ComponentDescriptor
pub fn descriptor_fuzz2018() -> ComponentDescriptor
Returns the ComponentDescriptor
for Self::fuzz2018
.
sourcepub fn descriptor_indicator() -> ComponentDescriptor
pub fn descriptor_indicator() -> ComponentDescriptor
Returns the ComponentDescriptor
for the associated indicator component.
source§impl AffixFuzzer3
impl AffixFuzzer3
sourcepub const NUM_COMPONENTS: usize = 19usize
pub const NUM_COMPONENTS: usize = 19usize
The total number of components in the archetype: 0 required, 1 recommended, 18 optional
source§impl AffixFuzzer3
impl AffixFuzzer3
sourcepub fn update_fields() -> Self
pub fn update_fields() -> Self
Update only some specific fields of a AffixFuzzer3
.
sourcepub fn clear_fields() -> Self
pub fn clear_fields() -> Self
Clear all the fields of a AffixFuzzer3
.
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_fuzz2001(self, fuzz2001: impl Into<AffixFuzzer1>) -> Self
sourcepub fn with_many_fuzz2001(
self,
fuzz2001: impl IntoIterator<Item = impl Into<AffixFuzzer1>>,
) -> Self
pub fn with_many_fuzz2001( self, fuzz2001: impl IntoIterator<Item = impl Into<AffixFuzzer1>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer1
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2001
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2002(self, fuzz2002: impl Into<AffixFuzzer2>) -> Self
sourcepub fn with_many_fuzz2002(
self,
fuzz2002: impl IntoIterator<Item = impl Into<AffixFuzzer2>>,
) -> Self
pub fn with_many_fuzz2002( self, fuzz2002: impl IntoIterator<Item = impl Into<AffixFuzzer2>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer2
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2002
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2003(self, fuzz2003: impl Into<AffixFuzzer3>) -> Self
sourcepub fn with_many_fuzz2003(
self,
fuzz2003: impl IntoIterator<Item = impl Into<AffixFuzzer3>>,
) -> Self
pub fn with_many_fuzz2003( self, fuzz2003: impl IntoIterator<Item = impl Into<AffixFuzzer3>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer3
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2003
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2004(self, fuzz2004: impl Into<AffixFuzzer4>) -> Self
sourcepub fn with_many_fuzz2004(
self,
fuzz2004: impl IntoIterator<Item = impl Into<AffixFuzzer4>>,
) -> Self
pub fn with_many_fuzz2004( self, fuzz2004: impl IntoIterator<Item = impl Into<AffixFuzzer4>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer4
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2004
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2005(self, fuzz2005: impl Into<AffixFuzzer5>) -> Self
sourcepub fn with_many_fuzz2005(
self,
fuzz2005: impl IntoIterator<Item = impl Into<AffixFuzzer5>>,
) -> Self
pub fn with_many_fuzz2005( self, fuzz2005: impl IntoIterator<Item = impl Into<AffixFuzzer5>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer5
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2005
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2006(self, fuzz2006: impl Into<AffixFuzzer6>) -> Self
sourcepub fn with_many_fuzz2006(
self,
fuzz2006: impl IntoIterator<Item = impl Into<AffixFuzzer6>>,
) -> Self
pub fn with_many_fuzz2006( self, fuzz2006: impl IntoIterator<Item = impl Into<AffixFuzzer6>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer6
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2006
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2007(self, fuzz2007: impl Into<AffixFuzzer7>) -> Self
sourcepub fn with_many_fuzz2007(
self,
fuzz2007: impl IntoIterator<Item = impl Into<AffixFuzzer7>>,
) -> Self
pub fn with_many_fuzz2007( self, fuzz2007: impl IntoIterator<Item = impl Into<AffixFuzzer7>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer7
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2007
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2008(self, fuzz2008: impl Into<AffixFuzzer8>) -> Self
sourcepub fn with_many_fuzz2008(
self,
fuzz2008: impl IntoIterator<Item = impl Into<AffixFuzzer8>>,
) -> Self
pub fn with_many_fuzz2008( self, fuzz2008: impl IntoIterator<Item = impl Into<AffixFuzzer8>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer8
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2008
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2009(self, fuzz2009: impl Into<AffixFuzzer9>) -> Self
sourcepub fn with_many_fuzz2009(
self,
fuzz2009: impl IntoIterator<Item = impl Into<AffixFuzzer9>>,
) -> Self
pub fn with_many_fuzz2009( self, fuzz2009: impl IntoIterator<Item = impl Into<AffixFuzzer9>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer9
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2009
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2010(self, fuzz2010: impl Into<AffixFuzzer10>) -> Self
sourcepub fn with_many_fuzz2010(
self,
fuzz2010: impl IntoIterator<Item = impl Into<AffixFuzzer10>>,
) -> Self
pub fn with_many_fuzz2010( self, fuzz2010: impl IntoIterator<Item = impl Into<AffixFuzzer10>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer10
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2010
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2011(self, fuzz2011: impl Into<AffixFuzzer11>) -> Self
sourcepub fn with_many_fuzz2011(
self,
fuzz2011: impl IntoIterator<Item = impl Into<AffixFuzzer11>>,
) -> Self
pub fn with_many_fuzz2011( self, fuzz2011: impl IntoIterator<Item = impl Into<AffixFuzzer11>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer11
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2011
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2012(self, fuzz2012: impl Into<AffixFuzzer12>) -> Self
sourcepub fn with_many_fuzz2012(
self,
fuzz2012: impl IntoIterator<Item = impl Into<AffixFuzzer12>>,
) -> Self
pub fn with_many_fuzz2012( self, fuzz2012: impl IntoIterator<Item = impl Into<AffixFuzzer12>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer12
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2012
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2013(self, fuzz2013: impl Into<AffixFuzzer13>) -> Self
sourcepub fn with_many_fuzz2013(
self,
fuzz2013: impl IntoIterator<Item = impl Into<AffixFuzzer13>>,
) -> Self
pub fn with_many_fuzz2013( self, fuzz2013: impl IntoIterator<Item = impl Into<AffixFuzzer13>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer13
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2013
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2014(self, fuzz2014: impl Into<AffixFuzzer14>) -> Self
sourcepub fn with_many_fuzz2014(
self,
fuzz2014: impl IntoIterator<Item = impl Into<AffixFuzzer14>>,
) -> Self
pub fn with_many_fuzz2014( self, fuzz2014: impl IntoIterator<Item = impl Into<AffixFuzzer14>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer14
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2014
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2015(self, fuzz2015: impl Into<AffixFuzzer15>) -> Self
sourcepub fn with_many_fuzz2015(
self,
fuzz2015: impl IntoIterator<Item = impl Into<AffixFuzzer15>>,
) -> Self
pub fn with_many_fuzz2015( self, fuzz2015: impl IntoIterator<Item = impl Into<AffixFuzzer15>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer15
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2015
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2016(self, fuzz2016: impl Into<AffixFuzzer16>) -> Self
sourcepub fn with_many_fuzz2016(
self,
fuzz2016: impl IntoIterator<Item = impl Into<AffixFuzzer16>>,
) -> Self
pub fn with_many_fuzz2016( self, fuzz2016: impl IntoIterator<Item = impl Into<AffixFuzzer16>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer16
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2016
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2017(self, fuzz2017: impl Into<AffixFuzzer17>) -> Self
sourcepub fn with_many_fuzz2017(
self,
fuzz2017: impl IntoIterator<Item = impl Into<AffixFuzzer17>>,
) -> Self
pub fn with_many_fuzz2017( self, fuzz2017: impl IntoIterator<Item = impl Into<AffixFuzzer17>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer17
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2017
should
be used when logging a single row’s worth of data.
pub fn with_fuzz2018(self, fuzz2018: impl Into<AffixFuzzer18>) -> Self
sourcepub fn with_many_fuzz2018(
self,
fuzz2018: impl IntoIterator<Item = impl Into<AffixFuzzer18>>,
) -> Self
pub fn with_many_fuzz2018( self, fuzz2018: impl IntoIterator<Item = impl Into<AffixFuzzer18>>, ) -> Self
This method makes it possible to pack multiple crate::testing::components::AffixFuzzer18
in a single component batch.
This only makes sense when used in conjunction with Self::columns
. Self::with_fuzz2018
should
be used when logging a single row’s worth of data.
Trait Implementations§
source§impl Archetype for AffixFuzzer3
impl Archetype for AffixFuzzer3
§type Indicator = GenericIndicatorComponent<AffixFuzzer3>
type Indicator = GenericIndicatorComponent<AffixFuzzer3>
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 AffixFuzzer3
impl AsComponents for AffixFuzzer3
source§fn as_serialized_batches(&self) -> Vec<SerializedComponentBatch>
fn as_serialized_batches(&self) -> Vec<SerializedComponentBatch>
SerializedComponentBatch
es. Read moresource§impl Clone for AffixFuzzer3
impl Clone for AffixFuzzer3
source§fn clone(&self) -> AffixFuzzer3
fn clone(&self) -> AffixFuzzer3
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AffixFuzzer3
impl Debug for AffixFuzzer3
source§impl Default for AffixFuzzer3
impl Default for AffixFuzzer3
source§fn default() -> AffixFuzzer3
fn default() -> AffixFuzzer3
source§impl PartialEq for AffixFuzzer3
impl PartialEq for AffixFuzzer3
source§fn eq(&self, other: &AffixFuzzer3) -> bool
fn eq(&self, other: &AffixFuzzer3) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl SizeBytes for AffixFuzzer3
impl SizeBytes for AffixFuzzer3
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 AffixFuzzer3
impl StructuralPartialEq for AffixFuzzer3
Auto Trait Implementations§
impl Freeze for AffixFuzzer3
impl !RefUnwindSafe for AffixFuzzer3
impl Send for AffixFuzzer3
impl Sync for AffixFuzzer3
impl Unpin for AffixFuzzer3
impl !UnwindSafe for AffixFuzzer3
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