Skip to main content

TableSlot

Trait TableSlot 

Source
pub trait TableSlot<Q> {
    // Required method
    fn place(q: &mut Q, table: TableRef);
}
Expand description

Where a TableChain puts the table reference it has built.

Implemented by the markers below rather than by a query, so the builder methods are written once and select::from / update::table / select::from_also differ only in a type parameter.

Required Methods§

Source

fn place(q: &mut Q, table: TableRef)

Put table where this slot means.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§