[−][src]Struct azul_widgets::text_input::TextInput
Fields
on_text_input: Callback
on_virtual_key_down: Callback
state: Ref<TextInputState>
Implementations
impl TextInput
[src]
pub fn new(state: Ref<TextInputState>) -> Self
[src]
pub fn with_state(self, state: Ref<TextInputState>) -> Self
[src]
pub fn on_text_input(self, callback: Callback) -> Self
[src]
pub fn on_virtual_key_down(self, callback: Callback) -> Self
[src]
pub fn dom(self) -> Dom
[src]
pub fn default_on_text_input(info: CallbackInfo) -> CallbackReturn
[src]
pub fn default_on_virtual_key_down(info: CallbackInfo) -> CallbackReturn
[src]
Trait Implementations
impl Clone for TextInput
[src]
impl Debug for TextInput
[src]
impl Default for TextInput
[src]
impl Eq for TextInput
[src]
impl Hash for TextInput
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<Dom> for TextInput
[src]
impl PartialEq<TextInput> for TextInput
[src]
impl StructuralEq for TextInput
[src]
impl StructuralPartialEq for TextInput
[src]
Auto Trait Implementations
impl !RefUnwindSafe for TextInput
impl !Send for TextInput
impl !Sync for TextInput
impl Unpin for TextInput
impl !UnwindSafe for TextInput
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,