pub trait RandomAccessKeyGenerator: Send {
// Required method
fn key_at(&self, row_index: u64) -> GeneratedValue;
}Expand description
A random-access key generator: reproduces the key of parent row row_index
in closed form, without materializing the intervening rows. Used as a
component of a composite KeyDomain.
Required Methods§
Sourcefn key_at(&self, row_index: u64) -> GeneratedValue
fn key_at(&self, row_index: u64) -> GeneratedValue
The key value at parent row row_index.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".