pub struct TextInputStyle {Show 14 fields
pub padding: Edges,
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_color: Color,
pub preedit_underline_color: Color,
}Fields§
§padding: Edges§background: Color§border: Edges§border_color: Color§border_color_focused: Color§focus_ring: Option<RingStyle>§corner_radii: Corners§text_color: Color§placeholder_color: Color§selection_color: Color§caret_color: Color§preedit_bg_color: Color§preedit_color: Color§preedit_underline_color: ColorImplementations§
Source§impl TextInputStyle
impl TextInputStyle
pub fn from_theme(theme: ThemeSnapshot) -> Self
Trait Implementations§
Source§impl Clone for TextInputStyle
impl Clone for TextInputStyle
Source§fn clone(&self) -> TextInputStyle
fn clone(&self) -> TextInputStyle
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 TextInputStyle
impl Debug for TextInputStyle
Auto Trait Implementations§
impl Freeze for TextInputStyle
impl RefUnwindSafe for TextInputStyle
impl Send for TextInputStyle
impl Sync for TextInputStyle
impl Unpin for TextInputStyle
impl UnsafeUnpin for TextInputStyle
impl UnwindSafe for TextInputStyle
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