pub trait TextEditWidgetExt<'a>: Sized {
// Required methods
fn fill_width(self) -> Self;
fn fixed_width(self, width: f32) -> Self;
fn char_limit(self, limit: usize) -> Self;
}Expand description
Extension trait for egui::TextEdit
Required Methods§
Sourcefn fill_width(self) -> Self
fn fill_width(self) -> Self
Make the text edit fill available width
Sourcefn fixed_width(self, width: f32) -> Self
fn fixed_width(self, width: f32) -> Self
Set a fixed width
Sourcefn char_limit(self, limit: usize) -> Self
fn char_limit(self, limit: usize) -> Self
Add a character limit
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".