pub struct TextAreaStyle {Show 14 fields
pub padding_x: Px,
pub padding_y: Px,
pub background: Color,
pub border: Edges,
pub border_color: Color,
pub border_color_focused: Color,
pub focus_ring: Option<RingStyle>,
pub corner_radii: Corners,
pub text_color: Color,
pub placeholder_color: Color,
pub selection_color: Color,
pub caret_color: Color,
pub preedit_bg_color: Color,
pub preedit_underline_color: Color,
}Fields§
§padding_x: Px§padding_y: Px§background: Color§border: Edges§border_color: Color§border_color_focused: ColorBorder color applied when the textarea itself is focused and focus-visible is active.
This aligns with shadcn/ui-style focus-visible:border-ring outcomes without requiring
wrapper containers to own the textarea border.
focus_ring: Option<RingStyle>§corner_radii: Corners§text_color: Color§placeholder_color: Color§selection_color: Color§caret_color: Color§preedit_bg_color: Color§preedit_underline_color: ColorTrait Implementations§
Source§impl Clone for TextAreaStyle
impl Clone for TextAreaStyle
Source§fn clone(&self) -> TextAreaStyle
fn clone(&self) -> TextAreaStyle
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 moreSource§impl Debug for TextAreaStyle
impl Debug for TextAreaStyle
Auto Trait Implementations§
impl Freeze for TextAreaStyle
impl RefUnwindSafe for TextAreaStyle
impl Send for TextAreaStyle
impl Sync for TextAreaStyle
impl Unpin for TextAreaStyle
impl UnsafeUnpin for TextAreaStyle
impl UnwindSafe for TextAreaStyle
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