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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)