#[repr(transparent)]pub struct ViewCoordinates(pub ViewCoordinates);Expand description
Component: How we interpret the coordinate system of an entity/space.
For instance: What is “up”? What does the Z axis mean?
The three coordinates are always ordered as [x, y, z].
For example [Right, Down, Forward] means that the X axis points to the right, the Y axis points down, and the Z axis points forward.
⚠ Rerun does not yet support left-handed coordinate systems.
The following constants are used to represent the different directions:
- Up = 1
- Down = 2
- Right = 3
- Left = 4
- Forward = 5
- Back = 6
⚠️ This type is unstable and may change significantly in a way that the data won’t be backwards compatible.
Tuple Fields§
§0: ViewCoordinatesThe directions of the [x, y, z] axes.
Implementations§
Source§impl ViewCoordinates
impl ViewCoordinates
Sourcepub const fn new(x: ViewDir, y: ViewDir, z: ViewDir) -> ViewCoordinates
pub const fn new(x: ViewDir, y: ViewDir, z: ViewDir) -> ViewCoordinates
Construct a new ViewCoordinates from an array of ViewDirs.
Sourcepub fn from_up_and_handedness(
up: SignedAxis3,
handedness: Handedness,
) -> ViewCoordinates
pub fn from_up_and_handedness( up: SignedAxis3, handedness: Handedness, ) -> ViewCoordinates
Chooses a coordinate system based on just an up-axis.
Sourcepub fn sanity_check(&self) -> Result<(), String>
pub fn sanity_check(&self) -> Result<(), String>
Returns an error if this does not span all three dimensions.
Sourcepub fn up(&self) -> Option<SignedAxis3>
pub fn up(&self) -> Option<SignedAxis3>
The up-axis.
Sourcepub fn right(&self) -> Option<SignedAxis3>
pub fn right(&self) -> Option<SignedAxis3>
The right-axis.
Sourcepub fn forward(&self) -> Option<SignedAxis3>
pub fn forward(&self) -> Option<SignedAxis3>
The forward-axis.
Sourcepub fn describe_short(&self) -> String
pub fn describe_short(&self) -> String
Describe using three letters, e.g. RDF for X=Right, Y=Down, Z=Forward.
Sourcepub fn describe(&self) -> String
pub fn describe(&self) -> String
A long description of the coordinate system, explicitly writing out all directions.
Sourcepub fn from_other(&self, other: &ViewCoordinates) -> Mat3
pub fn from_other(&self, other: &ViewCoordinates) -> Mat3
Returns a matrix that transforms from another coordinate system to this (self) one.
Sourcepub fn to_rdf(&self) -> Mat3
pub fn to_rdf(&self) -> Mat3
Returns a matrix that transforms this coordinate system to RDF.
(RDF: X=Right, Y=Down, Z=Forward)
Sourcepub fn from_rdf(&self) -> Mat3
pub fn from_rdf(&self) -> Mat3
Returns a matrix that transforms from RDF to this coordinate system.
(RDF: X=Right, Y=Down, Z=Forward)
Sourcepub fn to_rub(&self) -> Mat3
pub fn to_rub(&self) -> Mat3
Returns a matrix that transforms this coordinate system to RUB.
(RUB: X=Right, Y=Up, Z=Back)
Sourcepub fn from_rub(&self) -> Mat3
pub fn from_rub(&self) -> Mat3
Returns a matrix that transforms from RUB to this coordinate system.
(RUB: X=Right, Y=Up, Z=Back)
Sourcepub fn from_rub_quat(&self) -> Result<Quat, String>
pub fn from_rub_quat(&self) -> Result<Quat, String>
Returns a quaternion that rotates from RUB to this coordinate system.
Errors if the coordinate system is left-handed or degenerate.
(RUB: X=Right, Y=Up, Z=Back)
Sourcepub fn handedness(&self) -> Result<Handedness, String>
pub fn handedness(&self) -> Result<Handedness, String>
Returns whether or not this coordinate system is left or right handed.
If the coordinate system is degenerate, an error is returned.
Source§impl ViewCoordinates
impl ViewCoordinates
Sourcepub const ULF: ViewCoordinates
pub const ULF: ViewCoordinates
X=Up, Y=Left, Z=Forward
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const UFL: ViewCoordinates
pub const UFL: ViewCoordinates
X=Up, Y=Forward, Z=Left
Sourcepub const LUF: ViewCoordinates
pub const LUF: ViewCoordinates
X=Left, Y=Up, Z=Forward
Sourcepub const LFU: ViewCoordinates
pub const LFU: ViewCoordinates
X=Left, Y=Forward, Z=Up
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const FUL: ViewCoordinates
pub const FUL: ViewCoordinates
X=Forward, Y=Up, Z=Left
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const FLU: ViewCoordinates
pub const FLU: ViewCoordinates
X=Forward, Y=Left, Z=Up
Sourcepub const ULB: ViewCoordinates
pub const ULB: ViewCoordinates
X=Up, Y=Left, Z=Back
Sourcepub const UBL: ViewCoordinates
pub const UBL: ViewCoordinates
X=Up, Y=Back, Z=Left
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const LUB: ViewCoordinates
pub const LUB: ViewCoordinates
X=Left, Y=Up, Z=Back
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const LBU: ViewCoordinates
pub const LBU: ViewCoordinates
X=Left, Y=Back, Z=Up
Sourcepub const BUL: ViewCoordinates
pub const BUL: ViewCoordinates
X=Back, Y=Up, Z=Left
Sourcepub const BLU: ViewCoordinates
pub const BLU: ViewCoordinates
X=Back, Y=Left, Z=Up
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const URF: ViewCoordinates
pub const URF: ViewCoordinates
X=Up, Y=Right, Z=Forward
Sourcepub const UFR: ViewCoordinates
pub const UFR: ViewCoordinates
X=Up, Y=Forward, Z=Right
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const RUF: ViewCoordinates
pub const RUF: ViewCoordinates
X=Right, Y=Up, Z=Forward
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const RFU: ViewCoordinates
pub const RFU: ViewCoordinates
X=Right, Y=Forward, Z=Up
Sourcepub const FUR: ViewCoordinates
pub const FUR: ViewCoordinates
X=Forward, Y=Up, Z=Right
Sourcepub const FRU: ViewCoordinates
pub const FRU: ViewCoordinates
X=Forward, Y=Right, Z=Up
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const URB: ViewCoordinates
pub const URB: ViewCoordinates
X=Up, Y=Right, Z=Back
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const UBR: ViewCoordinates
pub const UBR: ViewCoordinates
X=Up, Y=Back, Z=Right
Sourcepub const RUB: ViewCoordinates
pub const RUB: ViewCoordinates
X=Right, Y=Up, Z=Back
Sourcepub const RBU: ViewCoordinates
pub const RBU: ViewCoordinates
X=Right, Y=Back, Z=Up
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const BUR: ViewCoordinates
pub const BUR: ViewCoordinates
X=Back, Y=Up, Z=Right
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const BRU: ViewCoordinates
pub const BRU: ViewCoordinates
X=Back, Y=Right, Z=Up
Sourcepub const DLF: ViewCoordinates
pub const DLF: ViewCoordinates
X=Down, Y=Left, Z=Forward
Sourcepub const DFL: ViewCoordinates
pub const DFL: ViewCoordinates
X=Down, Y=Forward, Z=Left
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const LDF: ViewCoordinates
pub const LDF: ViewCoordinates
X=Left, Y=Down, Z=Forward
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const LFD: ViewCoordinates
pub const LFD: ViewCoordinates
X=Left, Y=Forward, Z=Down
Sourcepub const FDL: ViewCoordinates
pub const FDL: ViewCoordinates
X=Forward, Y=Down, Z=Left
Sourcepub const FLD: ViewCoordinates
pub const FLD: ViewCoordinates
X=Forward, Y=Left, Z=Down
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const DLB: ViewCoordinates
pub const DLB: ViewCoordinates
X=Down, Y=Left, Z=Back
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const DBL: ViewCoordinates
pub const DBL: ViewCoordinates
X=Down, Y=Back, Z=Left
Sourcepub const LDB: ViewCoordinates
pub const LDB: ViewCoordinates
X=Left, Y=Down, Z=Back
Sourcepub const LBD: ViewCoordinates
pub const LBD: ViewCoordinates
X=Left, Y=Back, Z=Down
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const BDL: ViewCoordinates
pub const BDL: ViewCoordinates
X=Back, Y=Down, Z=Left
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const BLD: ViewCoordinates
pub const BLD: ViewCoordinates
X=Back, Y=Left, Z=Down
Sourcepub const DRF: ViewCoordinates
pub const DRF: ViewCoordinates
X=Down, Y=Right, Z=Forward
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const DFR: ViewCoordinates
pub const DFR: ViewCoordinates
X=Down, Y=Forward, Z=Right
Sourcepub const RDF: ViewCoordinates
pub const RDF: ViewCoordinates
X=Right, Y=Down, Z=Forward
Sourcepub const RFD: ViewCoordinates
pub const RFD: ViewCoordinates
X=Right, Y=Forward, Z=Down
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const FDR: ViewCoordinates
pub const FDR: ViewCoordinates
X=Forward, Y=Down, Z=Right
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const FRD: ViewCoordinates
pub const FRD: ViewCoordinates
X=Forward, Y=Right, Z=Down
Sourcepub const DRB: ViewCoordinates
pub const DRB: ViewCoordinates
X=Down, Y=Right, Z=Back
Sourcepub const DBR: ViewCoordinates
pub const DBR: ViewCoordinates
X=Down, Y=Back, Z=Right
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const RDB: ViewCoordinates
pub const RDB: ViewCoordinates
X=Right, Y=Down, Z=Back
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const RBD: ViewCoordinates
pub const RBD: ViewCoordinates
X=Right, Y=Back, Z=Down
Sourcepub const BDR: ViewCoordinates
pub const BDR: ViewCoordinates
X=Back, Y=Down, Z=Right
Sourcepub const BRD: ViewCoordinates
pub const BRD: ViewCoordinates
X=Back, Y=Right, Z=Down
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const RIGHT_HAND_X_UP: ViewCoordinates
pub const RIGHT_HAND_X_UP: ViewCoordinates
X=Up, Y=Right, Z=Forward
Sourcepub const RIGHT_HAND_X_DOWN: ViewCoordinates
pub const RIGHT_HAND_X_DOWN: ViewCoordinates
X=Down, Y=Right, Z=Back
Sourcepub const RIGHT_HAND_Y_UP: ViewCoordinates
pub const RIGHT_HAND_Y_UP: ViewCoordinates
X=Right, Y=Up, Z=Back
Sourcepub const RIGHT_HAND_Y_DOWN: ViewCoordinates
pub const RIGHT_HAND_Y_DOWN: ViewCoordinates
X=Right, Y=Down, Z=Forward
Sourcepub const RIGHT_HAND_Z_UP: ViewCoordinates
pub const RIGHT_HAND_Z_UP: ViewCoordinates
X=Right, Y=Forward, Z=Up
Sourcepub const RIGHT_HAND_Z_DOWN: ViewCoordinates
pub const RIGHT_HAND_Z_DOWN: ViewCoordinates
X=Right, Y=Back, Z=Down
Sourcepub const LEFT_HAND_X_UP: ViewCoordinates
pub const LEFT_HAND_X_UP: ViewCoordinates
X=Up, Y=Right, Z=Back
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const LEFT_HAND_X_DOWN: ViewCoordinates
pub const LEFT_HAND_X_DOWN: ViewCoordinates
X=Down, Y=Right, Z=Forward
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const LEFT_HAND_Y_UP: ViewCoordinates
pub const LEFT_HAND_Y_UP: ViewCoordinates
X=Right, Y=Up, Z=Forward
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const LEFT_HAND_Y_DOWN: ViewCoordinates
pub const LEFT_HAND_Y_DOWN: ViewCoordinates
X=Right, Y=Down, Z=Back
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const LEFT_HAND_Z_UP: ViewCoordinates
pub const LEFT_HAND_Z_UP: ViewCoordinates
X=Right, Y=Back, Z=Up
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Sourcepub const LEFT_HAND_Z_DOWN: ViewCoordinates
pub const LEFT_HAND_Z_DOWN: ViewCoordinates
X=Right, Y=Forward, Z=Down
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
Trait Implementations§
Source§impl Borrow<ViewCoordinates> for ViewCoordinates
impl Borrow<ViewCoordinates> for ViewCoordinates
Source§fn borrow(&self) -> &ViewCoordinates
fn borrow(&self) -> &ViewCoordinates
Source§impl Clone for ViewCoordinates
impl Clone for ViewCoordinates
Source§fn clone(&self) -> ViewCoordinates
fn clone(&self) -> ViewCoordinates
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ViewCoordinates
impl Debug for ViewCoordinates
Source§impl Default for ViewCoordinates
impl Default for ViewCoordinates
Source§fn default() -> ViewCoordinates
fn default() -> ViewCoordinates
Source§impl Deref for ViewCoordinates
impl Deref for ViewCoordinates
Source§type Target = ViewCoordinates
type Target = ViewCoordinates
Source§fn deref(&self) -> &ViewCoordinates
fn deref(&self) -> &ViewCoordinates
Source§impl DerefMut for ViewCoordinates
impl DerefMut for ViewCoordinates
Source§fn deref_mut(&mut self) -> &mut ViewCoordinates
fn deref_mut(&mut self) -> &mut ViewCoordinates
Source§impl<'a> From<&'a ViewCoordinates> for Cow<'a, ViewCoordinates>
impl<'a> From<&'a ViewCoordinates> for Cow<'a, ViewCoordinates>
Source§fn from(value: &'a ViewCoordinates) -> Cow<'a, ViewCoordinates>
fn from(value: &'a ViewCoordinates) -> Cow<'a, ViewCoordinates>
Source§impl<T> From<T> for ViewCoordinateswhere
T: Into<ViewCoordinates>,
impl<T> From<T> for ViewCoordinateswhere
T: Into<ViewCoordinates>,
Source§fn from(v: T) -> ViewCoordinates
fn from(v: T) -> ViewCoordinates
Source§impl<'a> From<ViewCoordinates> for Cow<'a, ViewCoordinates>
impl<'a> From<ViewCoordinates> for Cow<'a, ViewCoordinates>
Source§fn from(value: ViewCoordinates) -> Cow<'a, ViewCoordinates>
fn from(value: ViewCoordinates) -> Cow<'a, ViewCoordinates>
Source§impl FromStr for ViewCoordinates
impl FromStr for ViewCoordinates
Source§impl PartialEq for ViewCoordinates
impl PartialEq for ViewCoordinates
Source§impl SizeBytes for ViewCoordinates
impl SizeBytes for ViewCoordinates
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 moreSource§impl WrapperComponent for ViewCoordinates
impl WrapperComponent for ViewCoordinates
Source§type Datatype = ViewCoordinates
type Datatype = ViewCoordinates
Loggable datatype for this component.Source§fn name() -> ComponentType
fn name() -> ComponentType
rerun.components.Position2D.Source§fn into_inner(self) -> <ViewCoordinates as WrapperComponent>::Datatype
fn into_inner(self) -> <ViewCoordinates as WrapperComponent>::Datatype
impl Copy for ViewCoordinates
impl Eq for ViewCoordinates
impl Pod for ViewCoordinates
impl StructuralPartialEq for ViewCoordinates
Auto Trait Implementations§
impl Freeze for ViewCoordinates
impl RefUnwindSafe for ViewCoordinates
impl Send for ViewCoordinates
impl Sync for ViewCoordinates
impl Unpin for ViewCoordinates
impl UnwindSafe for ViewCoordinates
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<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
bits
as &Self.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§impl<T> Component for Twhere
T: WrapperComponent,
impl<T> Component for Twhere
T: WrapperComponent,
Source§fn name() -> ComponentType
fn name() -> ComponentType
rerun.components.Position2D.Source§impl<L> ComponentBatch for L
impl<L> ComponentBatch for L
Source§fn to_arrow(&self) -> Result<Arc<dyn Array>, SerializationError>
fn to_arrow(&self) -> Result<Arc<dyn Array>, SerializationError>
Source§fn to_arrow_list_array(
&self,
) -> Result<GenericListArray<i32>, SerializationError>
fn to_arrow_list_array( &self, ) -> Result<GenericListArray<i32>, SerializationError>
Source§fn serialized(
&self,
component_descr: ComponentDescriptor,
) -> Option<SerializedComponentBatch>
fn serialized( &self, component_descr: ComponentDescriptor, ) -> Option<SerializedComponentBatch>
ComponentBatch. Read moreSource§fn try_serialized(
&self,
component_descr: ComponentDescriptor,
) -> Result<SerializedComponentBatch, SerializationError>
fn try_serialized( &self, component_descr: ComponentDescriptor, ) -> Result<SerializedComponentBatch, SerializationError>
ComponentBatch. Read moreSource§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§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.Source§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.Source§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.Source§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.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> Loggable for Twhere
T: WrapperComponent,
impl<T> Loggable for Twhere
T: WrapperComponent,
Source§fn arrow_datatype() -> DataType
fn arrow_datatype() -> DataType
arrow::datatypes::DataType, excluding datatype extensions.Source§fn to_arrow_opt<'a>(
data: impl IntoIterator<Item = Option<impl Into<Cow<'a, T>>>>,
) -> Result<Arc<dyn Array>, SerializationError>where
T: Clone + 'a,
fn to_arrow_opt<'a>(
data: impl IntoIterator<Item = Option<impl Into<Cow<'a, T>>>>,
) -> Result<Arc<dyn Array>, SerializationError>where
T: Clone + 'a,
Source§fn from_arrow_opt(
arrow_data: &dyn Array,
) -> Result<Vec<Option<T>>, DeserializationError>
fn from_arrow_opt( arrow_data: &dyn Array, ) -> Result<Vec<Option<T>>, DeserializationError>
Loggables.Source§fn from_arrow(arrow_data: &dyn Array) -> Result<Vec<T>, DeserializationError>
fn from_arrow(arrow_data: &dyn Array) -> Result<Vec<T>, DeserializationError>
Loggables.fn arrow_empty() -> Arc<dyn Array>
Source§fn to_arrow<'a>(
data: impl IntoIterator<Item = impl Into<Cow<'a, Self>>>,
) -> Result<Arc<dyn Array>, SerializationError>where
Self: 'a,
fn to_arrow<'a>(
data: impl IntoIterator<Item = impl Into<Cow<'a, Self>>>,
) -> Result<Arc<dyn Array>, SerializationError>where
Self: 'a,
Source§fn verify_arrow_array(data: &dyn Array) -> Result<(), DeserializationError>
fn verify_arrow_array(data: &dyn Array) -> Result<(), DeserializationError>
Source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.