Crate re_log_types
source ·Expand description
The different types that make up the rerun log format.
Feature flags
-
arrow_datagen(enabled by default) — Enables thedatagenmodule, which exposes a number of tools for generating random data for tests and benchmarks. -
ecolor— Enable conversions -
glam— Add support for some math operations usingglam. -
image— Integration with theimagecrate. -
load— Enable loading data from a file. -
save— Enable saving data to a file. -
serde— Enable (de)serialization using serde.
Re-exports
pub use arrow_msg::ArrowMsg;pub use self::component_types::context;pub use self::component_types::coordinates;pub use self::component_types::AnnotationContext;pub use self::component_types::Arrow3D;pub use self::component_types::MsgId;pub use self::component_types::ViewCoordinates;pub use self::component_types::EncodedMesh3D;pub use self::component_types::Mesh3D;pub use self::component_types::MeshFormat;pub use self::component_types::MeshId;pub use self::component_types::RawMesh3D;pub use self::time_point::TimeInt;pub use self::time_point::TimePoint;pub use self::time_point::TimeType;pub use self::time_point::Timeline;pub use self::time_point::TimelineName;pub use crate::component_types::Arrow3D;pub use crate::component_types::Pinhole;pub use crate::component_types::Rigid3;pub use crate::component_types::Transform;pub use self::path::*;
Modules
ArrowMsgis thecrate::LogMsgsub-type containing an Arrow payload.- Potentially user-facing component types.
- Generate random data for tests and benchmarks.
- Encoding/decoding
LogMsg:es as.rrdfiles. - Structs and functions used for framing and de-framing a Rerun log message in Arrow.
- Every logged entity in Rerun is logged to an
EntityPath.
Macros
- Build a
EntityPath: - Build a
Vec<EntityPathPart>:
Structs
- The user-chosen name of the application doing the logging.
- Oriented 3D box
- A signed duration represented as nanoseconds since unix epoch
- An operation (like a ‘clear’) on an
EntityPath. - A 128 bit hash of
Indexwith negligible risk of collision. - A unique id per recording (a stream of
LogMsges). - A date-time represented as nanoseconds since unix epoch
- Either nanoseconds or sequence numbers.
Enums
- The key of a table.
- The most general log message sent from the SDK to the server.
- Operation to perform on an
EntityPath, e.g. clearing all components. - The data types supported by a
crate::component_types::Tensor. - The data that can be stored in a
crate::component_types::Tensor.
Traits
Type Definitions
- Order: XYZW