MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / slim_slice.rs

File slim_slice.rs

crates/data-structures/src/slim_slice.rs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1//! Defines slimmer versions of slices, both shared, mutable, and owned.
2//!
3//! They are slimmer in the sense that whereas e.g.,
4//! `size_of::<Box<[T]>>() == 16`, on a 64-bit machine,

Callers

nothing calls this directly

Calls 1

as_bytesMethod · 0.45

Tested by

no test coverage detected