Skip to main content

GetOrCreateWhereClause

Trait GetOrCreateWhereClause 

Source
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§

Provided Methods§

Source

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".

Implementors§