Module spacetimedb_table::eq

source ·
Expand description

Provides the function [eq_row_in_page(page_a, page_b, offset_a, offset_b, ty)] which, for value_a/b = page_a/b.get_row_data(offset_a/b, fixed_row_size) typed at ty, compares value_a and value_b for equality.

Functions§

  • Equates row a in page_a with its fixed part starting at fixed_offset_a to row b in page_b with its fixed part starting at fixed_offset_b. Both rows last for ty.size() bytes and are assumed to be typed at ty and must be valid for ty.