[−][src]Struct egui::widgets::TextEdit
A text region that the user can edit the contents of.
Implementations
impl<'t> TextEdit<'t>
[src]
pub fn new(text: &'t mut String) -> Self
[src]
pub fn id(self, id_source: impl Hash) -> Self
[src]
pub fn text_style(self, text_style: TextStyle) -> Self
[src]
pub fn text_color(self, text_color: Color) -> Self
[src]
pub fn multiline(self, multiline: bool) -> Self
[src]
Trait Implementations
impl<'t> Debug for TextEdit<'t>
[src]
impl<'t> Widget for TextEdit<'t>
[src]
fn ui(self, ui: &mut Ui) -> InteractInfo
[src]
Auto Trait Implementations
impl<'t> RefUnwindSafe for TextEdit<'t>
impl<'t> Send for TextEdit<'t>
impl<'t> Sync for TextEdit<'t>
impl<'t> Unpin for TextEdit<'t>
impl<'t> !UnwindSafe for TextEdit<'t>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,