Skip to main content

RecordWithList

Trait RecordWithList 

Source
pub trait RecordWithList: FixedRecord + Sized {
    type List: From<Vec<Self>>;
}
Expand description

Associates a fixed-width record with its generated List type. 固定長レコードと、そのレコード用に生成された List 型を関連付けます。

This is implemented automatically by #[fixed_record] when the list feature is enabled. list feature が有効な場合に #[fixed_record] が自動実装します。

Required Associated Types§

Source

type List: From<Vec<Self>>

Generated List type that can be built from these records. このレコード列から構築できる生成済み List 型です。

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§