pub struct TextInput(/* private fields */);
Implementations§
Source§impl TextInput
impl TextInput
pub fn new(data: ManagedLazy<impl TextInputProxy + 'static>) -> TextInput
pub fn into_inner(self) -> ManagedLazy<dyn TextInputProxy>
pub fn get(&self) -> String
pub fn set(&mut self, value: impl ToString)
Trait Implementations§
Source§impl<T> From<ManagedLazy<T>> for TextInputwhere
T: TextInputProxy + 'static,
impl<T> From<ManagedLazy<T>> for TextInputwhere
T: TextInputProxy + 'static,
Source§fn from(value: ManagedLazy<T>) -> TextInput
fn from(value: ManagedLazy<T>) -> TextInput
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TextInput
impl !RefUnwindSafe for TextInput
impl Send for TextInput
impl Sync for TextInput
impl Unpin for TextInput
impl !UnwindSafe for TextInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more