Struct re_types::NamedIndicatorComponent
source · pub struct NamedIndicatorComponent(pub ComponentName);
Expand description
An arbitrary named indicator component.
Tuple Fields§
§0: ComponentName
Implementations§
source§impl NamedIndicatorComponent
impl NamedIndicatorComponent
pub fn as_batch(&self) -> MaybeOwnedComponentBatch<'_>
pub fn to_batch(self) -> MaybeOwnedComponentBatch<'static>
Trait Implementations§
source§impl Clone for NamedIndicatorComponent
impl Clone for NamedIndicatorComponent
source§fn clone(&self) -> NamedIndicatorComponent
fn clone(&self) -> NamedIndicatorComponent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NamedIndicatorComponent
impl Debug for NamedIndicatorComponent
source§impl LoggableBatch for NamedIndicatorComponent
impl LoggableBatch for NamedIndicatorComponent
type Name = ComponentName
source§fn name(&self) -> <NamedIndicatorComponent as LoggableBatch>::Name
fn name(&self) -> <NamedIndicatorComponent as LoggableBatch>::Name
The fully-qualified name of this batch, e.g.
rerun.datatypes.Vec2D
.source§fn num_instances(&self) -> usize
fn num_instances(&self) -> usize
The number of component instances stored into this batch.
source§fn arrow_field(&self) -> Field
fn arrow_field(&self) -> Field
The underlying
arrow2::datatypes::Field
, including datatype extensions.impl ComponentBatch for NamedIndicatorComponent
impl Copy for NamedIndicatorComponent
Auto Trait Implementations§
impl Freeze for NamedIndicatorComponent
impl RefUnwindSafe for NamedIndicatorComponent
impl Send for NamedIndicatorComponent
impl Sync for NamedIndicatorComponent
impl Unpin for NamedIndicatorComponent
impl UnwindSafe for NamedIndicatorComponent
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
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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>
Converts
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>
Converts
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