Struct re_types::GenericIndicatorComponent
source · pub struct GenericIndicatorComponent<A>where
A: Archetype,{ /* private fields */ }Expand description
A generic indicator component that can be specialized for any Archetype.
ⓘ
type MyArchetypeIndicator = GenericIndicatorComponent<MyArchetype>;Implementations§
source§impl<A> GenericIndicatorComponent<A>where
A: Archetype,
impl<A> GenericIndicatorComponent<A>where
A: Archetype,
pub const DEFAULT: GenericIndicatorComponent<A> = _
Trait Implementations§
source§impl<A> Clone for GenericIndicatorComponent<A>
impl<A> Clone for GenericIndicatorComponent<A>
source§fn clone(&self) -> GenericIndicatorComponent<A>
fn clone(&self) -> GenericIndicatorComponent<A>
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<A> Debug for GenericIndicatorComponent<A>
impl<A> Debug for GenericIndicatorComponent<A>
source§impl<A> Default for GenericIndicatorComponent<A>where
A: Archetype,
impl<A> Default for GenericIndicatorComponent<A>where
A: Archetype,
source§fn default() -> GenericIndicatorComponent<A>
fn default() -> GenericIndicatorComponent<A>
Returns the “default value” for a type. Read more
source§impl<A> LoggableBatch for GenericIndicatorComponent<A>where
A: Archetype,
impl<A> LoggableBatch for GenericIndicatorComponent<A>where
A: Archetype,
type Name = ComponentName
source§fn name(&self) -> <GenericIndicatorComponent<A> as LoggableBatch>::Name
fn name(&self) -> <GenericIndicatorComponent<A> 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<A> ComponentBatch for GenericIndicatorComponent<A>where
A: Archetype,
impl<A> Copy for GenericIndicatorComponent<A>
Auto Trait Implementations§
impl<A> Freeze for GenericIndicatorComponent<A>
impl<A> RefUnwindSafe for GenericIndicatorComponent<A>where
A: RefUnwindSafe,
impl<A> Send for GenericIndicatorComponent<A>where
A: Send,
impl<A> Sync for GenericIndicatorComponent<A>where
A: Sync,
impl<A> Unpin for GenericIndicatorComponent<A>where
A: Unpin,
impl<A> UnwindSafe for GenericIndicatorComponent<A>where
A: UnwindSafe,
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