pub trait ListContains<T, Witness> { }Expand description
The Cons list Self contains the type T.
Used for column lists (GROUP BY keys, INSERT target columns), where the
elements are compared by type rather than by scope key. Witness is a
proof type the compiler infers (ScopeHere / ScopeThere).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".