pub struct ResolvedInputTheme {Show 13 fields
pub background: Rgba,
pub foreground: Rgba,
pub border: Rgba,
pub placeholder: Rgba,
pub caret: Rgba,
pub selection: Rgba,
pub selection_foreground: Rgba,
pub min_height: f32,
pub padding_horizontal: f32,
pub padding_vertical: f32,
pub radius: f32,
pub border_width: f32,
pub font: ResolvedFontSpec,
}Expand description
Single-line and multi-line text input fields.
Fields§
§background: RgbaInput field background fill.
foreground: RgbaTyped text color.
border: RgbaInput field border color.
placeholder: RgbaPlaceholder text color.
caret: RgbaText cursor (caret) color.
selection: RgbaText selection highlight color.
selection_foreground: RgbaText color inside the selection highlight.
min_height: f32Minimum field height in logical pixels.
padding_horizontal: f32Horizontal padding inside the field.
padding_vertical: f32Vertical padding inside the field.
radius: f32Corner radius in logical pixels.
border_width: f32Border stroke width in logical pixels.
font: ResolvedFontSpecInput text font specification.
Trait Implementations§
Source§impl Clone for ResolvedInputTheme
impl Clone for ResolvedInputTheme
Source§fn clone(&self) -> ResolvedInputTheme
fn clone(&self) -> ResolvedInputTheme
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 ResolvedInputTheme
impl Debug for ResolvedInputTheme
Source§impl<'de> Deserialize<'de> for ResolvedInputTheme
impl<'de> Deserialize<'de> for ResolvedInputTheme
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 ResolvedInputTheme
impl PartialEq for ResolvedInputTheme
Source§impl Serialize for ResolvedInputTheme
impl Serialize for ResolvedInputTheme
impl StructuralPartialEq for ResolvedInputTheme
Auto Trait Implementations§
impl Freeze for ResolvedInputTheme
impl RefUnwindSafe for ResolvedInputTheme
impl Send for ResolvedInputTheme
impl Sync for ResolvedInputTheme
impl Unpin for ResolvedInputTheme
impl UnsafeUnpin for ResolvedInputTheme
impl UnwindSafe for ResolvedInputTheme
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