Skip to main content

Module doc_examples

Module doc_examples 

Source
Expand description

Documentation examples for APIs generated by fixed_record. fixed_record が生成する API を rustdoc で確認するためのサンプルです。

Structs§

TestRecord
Test record used to document the generated fixed-record API. 生成される fixed-record API のドキュメント用テストレコードです。
TestRecordList
Stores boxed records in a vector and maintains field indexes for search and sorting. Box 化したレコードを vector に保持し、検索・ソート用のフィールド索引を管理します。 Each field index maps actual field bytes to the current vector indexes of matching records. 各フィールド索引は、実際のフィールドバイト列から、一致するレコードの現在の vector index へ対応付けます。 Sorting moves boxes in the vector, not the record values allocated behind them. ソート時は vector 内の Box が移動し、Box の先にあるレコード本体は移動しません。 Record IDs are the current vector indexes, so IDs can change after removal or sorting. レコード ID は現在の vector index です。そのため削除やソート後に ID は変わる可能性があります。

Enums§

TestRecordField
Field identifier enum for the generated record. 生成レコード用のフィールド識別列挙型です。