pub trait TableHKT {
type Mode: TableMode;
type Of<Mode: TableMode>;
}Expand description
A trait abstracting the mode of a user defined table, which allows us to talk about the same table in two different modes.
impl<'scope, T: Column<'scope>> TableHKT<'scope> for MyTable<'scope, T> {
type Of<Mode: Column<'scope>> = MyTable<'scope, Mode>;
type Mode = T;
}Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.