pub struct TextAreaProps {Show 13 fields
pub layout: LayoutStyle,
pub enabled: bool,
pub focusable: bool,
pub model: Model<String>,
pub placeholder: Option<Arc<str>>,
pub a11y_required: bool,
pub a11y_invalid: Option<SemanticsInvalid>,
pub a11y_label: Option<Arc<str>>,
pub test_id: Option<Arc<str>>,
pub chrome: TextAreaStyle,
pub focus_ring_always_paint: bool,
pub text_style: TextStyle,
pub min_height: Px,
}Fields§
§layout: LayoutStyle§enabled: bool§focusable: bool§model: Model<String>§placeholder: Option<Arc<str>>§a11y_required: bool§a11y_invalid: Option<SemanticsInvalid>§a11y_label: Option<Arc<str>>§test_id: Option<Arc<str>>§chrome: TextAreaStyle§focus_ring_always_paint: boolWhen true, paints the focus ring even if focus-visible is currently false.
This exists to support CSS-like transition-[..., box-shadow] semantics where the ring
animates out after blur. Policy code is expected to drive ring alpha to zero and set this
flag only while the transition is animating.
text_style: TextStyle§min_height: PxImplementations§
Trait Implementations§
Source§impl Clone for TextAreaProps
impl Clone for TextAreaProps
Source§fn clone(&self) -> TextAreaProps
fn clone(&self) -> TextAreaProps
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for TextAreaProps
impl !RefUnwindSafe for TextAreaProps
impl !Send for TextAreaProps
impl !Sync for TextAreaProps
impl Unpin for TextAreaProps
impl UnsafeUnpin for TextAreaProps
impl !UnwindSafe for TextAreaProps
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