Trait re_sdk::ComponentBatch
source · pub trait ComponentBatch: LoggableBatch<Name = ComponentName> { }
Expand description
A ComponentBatch
represents an array’s worth of Component
instances.
Any LoggableBatch
with a Loggable::Name
set to ComponentName
automatically
implements ComponentBatch
.
Trait Implementations§
source§impl<'a> AsRef<dyn ComponentBatch<Name = ComponentName> + 'a> for MaybeOwnedComponentBatch<'a>
impl<'a> AsRef<dyn ComponentBatch<Name = ComponentName> + 'a> for MaybeOwnedComponentBatch<'a>
source§fn as_ref(&self) -> &(dyn ComponentBatch<Name = ComponentName> + 'a)
fn as_ref(&self) -> &(dyn ComponentBatch<Name = ComponentName> + 'a)
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<'a> From<&'a dyn ComponentBatch<Name = ComponentName>> for MaybeOwnedComponentBatch<'a>
impl<'a> From<&'a dyn ComponentBatch<Name = ComponentName>> for MaybeOwnedComponentBatch<'a>
source§fn from(
comp_batch: &'a dyn ComponentBatch<Name = ComponentName>
) -> MaybeOwnedComponentBatch<'a>
fn from( comp_batch: &'a dyn ComponentBatch<Name = ComponentName> ) -> MaybeOwnedComponentBatch<'a>
Converts to this type from the input type.