pub trait EditableImpl: WidgetImpl + ObjectSubclass<Type: IsA<Editable>> {
// Provided methods
fn insert_text(&self, text: &str, length: i32, position: &mut i32) { ... }
fn delete_text(&self, start_position: i32, end_position: i32) { ... }
fn changed(&self) { ... }
fn text(&self) -> GString { ... }
fn delegate(&self) -> Option<Editable> { ... }
fn do_insert_text(&self, text: &str, length: i32, position: &mut i32) { ... }
fn do_delete_text(&self, start_position: i32, end_position: i32) { ... }
fn selection_bounds(&self) -> Option<(i32, i32)> { ... }
fn set_selection_bounds(&self, start_position: i32, end_position: i32) { ... }
}
Provided Methods§
fn insert_text(&self, text: &str, length: i32, position: &mut i32)
fn delete_text(&self, start_position: i32, end_position: i32)
fn changed(&self)
fn text(&self) -> GString
fn delegate(&self) -> Option<Editable>
fn do_insert_text(&self, text: &str, length: i32, position: &mut i32)
fn do_delete_text(&self, start_position: i32, end_position: i32)
fn selection_bounds(&self) -> Option<(i32, i32)>
fn set_selection_bounds(&self, start_position: i32, end_position: i32)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.