pub struct TextAreaTheme {
pub border: Option<WidgetBorderSpec>,
}Expand description
Multi-line text field: the padding in which it differs from the
single-line field. Everything else a text area shows – its fill, text,
placeholder, caret, selection, states and font – is InputTheme’s.
Fields§
§border: Option<WidgetBorderSpec>Text area border specification. Its padding sides are the multi-line
field’s own, None where the platform states none
(docs/platform-facts.md §2.29); its colour, corner radius, line width
and shadow inherit input.border’s: the platforms frame both fields
alike.
Implementations§
Source§impl TextAreaTheme
impl TextAreaTheme
Sourcepub const FIELD_NAMES: &[&str]
pub const FIELD_NAMES: &[&str]
All serialized field names for this widget theme, for TOML linting.
Source§impl TextAreaTheme
impl TextAreaTheme
Trait Implementations§
Source§impl Clone for TextAreaTheme
impl Clone for TextAreaTheme
Source§impl Debug for TextAreaTheme
impl Debug for TextAreaTheme
Source§impl Default for TextAreaTheme
impl Default for TextAreaTheme
Source§impl<'de> Deserialize<'de> for TextAreaThemewhere
TextAreaTheme: Default,
impl<'de> Deserialize<'de> for TextAreaThemewhere
TextAreaTheme: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TextAreaTheme
impl PartialEq for TextAreaTheme
Source§impl Serialize for TextAreaTheme
impl Serialize for TextAreaTheme
impl StructuralPartialEq for TextAreaTheme
Auto Trait Implementations§
impl Freeze for TextAreaTheme
impl RefUnwindSafe for TextAreaTheme
impl Send for TextAreaTheme
impl Sync for TextAreaTheme
impl Unpin for TextAreaTheme
impl UnsafeUnpin for TextAreaTheme
impl UnwindSafe for TextAreaTheme
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