pub trait EntryBufferExtManual: IsA<EntryBuffer> + 'static {
// Provided methods
fn delete_text(&self, position: u16, n_chars: Option<u16>) -> u16 { ... }
fn bytes(&self) -> usize { ... }
fn length(&self) -> u16 { ... }
fn max_length(&self) -> Option<u16> { ... }
fn text(&self) -> GString { ... }
fn insert_text(&self, position: u16, chars: impl IntoGStr) -> u16 { ... }
fn set_max_length(&self, max_length: Option<u16>) { ... }
fn set_text(&self, chars: impl IntoGStr) { ... }
}
Expand description
Trait containing manually implemented methods of
EntryBuffer
.
Provided Methods§
fn delete_text(&self, position: u16, n_chars: Option<u16>) -> u16
fn bytes(&self) -> usize
fn length(&self) -> u16
fn max_length(&self) -> Option<u16>
fn text(&self) -> GString
fn insert_text(&self, position: u16, chars: impl IntoGStr) -> u16
fn set_max_length(&self, max_length: Option<u16>)
fn set_text(&self, chars: impl IntoGStr)
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.