pub trait EditableImpl: ObjectImpl + ObjectSubclass<Type: IsA<Editable>> {
// Provided methods
fn insert_text(&self, new_text: &str, position: &mut i32) { ... }
fn delete_text(&self, start_pos: i32, end_pos: i32) { ... }
fn changed(&self) { ... }
fn do_insert_text(&self, new_text: &str, position: &mut i32) { ... }
fn do_delete_text(&self, start_pos: i32, end_pos: i32) { ... }
fn chars(&self, start_pos: i32, end_pos: i32) -> Option<GString> { ... }
fn set_selection_bounds(&self, start_pos: i32, end_pos: i32) { ... }
fn selection_bounds(&self) -> Option<(i32, i32)> { ... }
fn set_position(&self, position: i32) { ... }
fn position(&self) -> i32 { ... }
}Provided Methods§
fn insert_text(&self, new_text: &str, position: &mut i32)
fn delete_text(&self, start_pos: i32, end_pos: i32)
fn changed(&self)
fn do_insert_text(&self, new_text: &str, position: &mut i32)
fn do_delete_text(&self, start_pos: i32, end_pos: i32)
fn chars(&self, start_pos: i32, end_pos: i32) -> Option<GString>
fn set_selection_bounds(&self, start_pos: i32, end_pos: i32)
fn selection_bounds(&self) -> Option<(i32, i32)>
fn set_position(&self, position: i32)
fn position(&self) -> i32
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".