Skip to main content

RowView

Trait RowView 

Source
pub trait RowView {
    // Required method
    fn get(&self, column: &str) -> Option<&GeneratedValue>;
}
Expand description

Read access to the other columns of the row currently being generated.

The engine owns the row buffer; generators and modifiers only borrow it through this trait, so a compiled operator can read a sibling column’s value (e.g. deriving full_name from first_name + last_name) without depending on the concrete buffer type.

Required Methods§

Source

fn get(&self, column: &str) -> Option<&GeneratedValue>

The value already generated for column in this row, if any. Returns None for columns not yet produced or not present.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§