Skip to content

Commit

Permalink
document TUID name shenaniganeries
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Nov 15, 2024
1 parent a873365 commit 2fccc54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/utils/re_tuid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ pub struct Tuid {
}

impl Tuid {
/// We give an actual name to [`Tuid`], and inject that name into the Arrow datatype extensions,
/// as a hack so that we can compactly format them when printing Arrow data to the terminal.
/// Check out `re_format_arrow` for context.
pub const NAME: &'static str = "rerun.datatypes.TUID";

/// Returns the total size of `self` on the heap, in bytes.
Expand Down

0 comments on commit 2fccc54

Please sign in to comment.