MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / row_size

Method row_size

crates/table/src/table.rs:2391–2393  ·  view source on GitHub ↗

Returns the row size for a row in the table.

(&self)

Source from the content-addressed store, hash-verified

2389
2390 /// Returns the row size for a row in the table.
2391 pub fn row_size(&self) -> Size {
2392 self.row_layout().size()
2393 }
2394
2395 /// Returns the layout for a row in the table.
2396 fn row_layout(&self) -> &RowTypeLayout {

Callers 6

get_delete_table_mutFunction · 0.80
nextMethod · 0.80
unique_violation_errorFunction · 0.80

Calls 2

row_layoutMethod · 0.80
sizeMethod · 0.45

Tested by 2

unique_violation_errorFunction · 0.64