pub struct TextInput(/* private fields */);
Implementations§
source§impl TextInput
impl TextInput
pub fn new(data: ManagedLazy<impl TextInputProxy + 'static>) -> Self
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: TextInputProxy + 'static> From<ManagedLazy<T>> for TextInput
impl<T: TextInputProxy + 'static> From<ManagedLazy<T>> for TextInput
source§fn from(value: ManagedLazy<T>) -> Self
fn from(value: ManagedLazy<T>) -> Self
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
)