pub trait SelectSeed<S, V, C> {
// Required method
fn seed(&self, select: &mut S)
where S: Selectable<V, C>,
V: From<String>;
}Expand description
Applies a source to a freshly-created Select.
Table::select_empty is generic over every SelectableDataSource,
including backends whose Source is String and whose Select is not
Expressive. So the source can’t be matched against SelectSource
directly there — this trait dispatches on the concrete source type, keeping
the Expressive requirement confined to the query-capable backends.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".