pub struct TextInputStyleConfig {
pub editor: WidgetId,
pub is_focused: Signal<bool>,
pub is_hovered: Signal<bool>,
pub is_disabled: Signal<bool>,
pub validation: Signal<TextInputValidationLevel>,
pub variant: TextInputVariant,
}Fields§
§editor: WidgetIdThe actual editable area subtree (caret, glyph layout, IME). The style wraps it with border / fill / focus-ring chrome.
is_focused: Signal<bool>§is_hovered: Signal<bool>§is_disabled: Signal<bool>§validation: Signal<TextInputValidationLevel>§variant: TextInputVariantTrait Implementations§
Source§impl Clone for TextInputStyleConfig
impl Clone for TextInputStyleConfig
Source§fn clone(&self) -> TextInputStyleConfig
fn clone(&self) -> TextInputStyleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for TextInputStyleConfig
impl !Send for TextInputStyleConfig
impl !Sync for TextInputStyleConfig
impl !UnwindSafe for TextInputStyleConfig
impl Freeze for TextInputStyleConfig
impl Unpin for TextInputStyleConfig
impl UnsafeUnpin for TextInputStyleConfig
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