pub trait IndexGenerator {
// Required methods
fn output_indexes(&self);
fn output_indexes_for_table(&self, writer: &mut SqlWriter, table: &Table);
fn output_index(
&self,
writer: &mut SqlWriter,
statement_separator: &str,
table: &Table,
key_name: &str,
key: &Key,
);
fn index_options(&self, key: &Key) -> Option<String>;
}Required Methods§
fn output_indexes(&self)
fn output_indexes_for_table(&self, writer: &mut SqlWriter, table: &Table)
fn output_index( &self, writer: &mut SqlWriter, statement_separator: &str, table: &Table, key_name: &str, key: &Key, )
fn index_options(&self, key: &Key) -> Option<String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".