Skip to main content

Position

Trait Position 

Source
pub trait Position {
    const POSITION: u32;
}
Expand description

The 1-based position an index names, which is what SQL’s ORDER BY <n> on a set operation takes. The index is already computed by row::Field; this reads it, so a set operation can be ordered by a column rather than by a number nothing checks.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§