pub trait GetOrCreateWhereClause: HasGenericParams {
// Required method
fn where_clause_position(&self) -> Option<Position>;
// Provided method
fn get_or_create_where_clause(
&self,
editor: &SyntaxEditor,
new_preds: impl Iterator<Item = WherePred>,
) { ... }
}Required Methods§
fn where_clause_position(&self) -> Option<Position>
Provided Methods§
fn get_or_create_where_clause( &self, editor: &SyntaxEditor, new_preds: impl Iterator<Item = WherePred>, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".