pub(crate) trait BaseCommand {
// Required method
fn execute(&self, selection: &Selection, value: DOMString) -> bool;
// Provided method
fn delete_the_selection(&self, _selection: &Selection, active_range: &Range) { ... }
}pub(crate) trait BaseCommand {
// Required method
fn execute(&self, selection: &Selection, value: DOMString) -> bool;
// Provided method
fn delete_the_selection(&self, _selection: &Selection, active_range: &Range) { ... }
}