pub struct StylesTextFieldStyle {Show 14 fields
pub cursor_color: Option<StylesColor>,
pub cursor_height: Option<f64>,
pub cursor_radius: Option<StylesRadius>,
pub cursor_width: Option<f64>,
pub decoration: Option<StylesInputDecoration>,
pub keyboard_appearance: Option<StylesBrightness>,
pub obscuring_character: Option<String>,
pub scroll_padding: Option<StylesPadding>,
pub selection_height_style: Option<StylesBoxHeightStyle>,
pub selection_width_style: Option<StylesBoxWidthStyle>,
pub strut_style: Option<StylesStrutStyle>,
pub text_align: Option<StylesTextAlign>,
pub text_align_vertical: Option<StylesTextAlignVertical>,
pub text_style: Option<StylesTextStyle>,
}Expand description
Element of type TextFieldStyle
Fields§
§cursor_color: Option<StylesColor>The color of the cursor.
cursor_height: Option<f64>§cursor_radius: Option<StylesRadius>The radius of the cursor.
cursor_width: Option<f64>§decoration: Option<StylesInputDecoration>The decoration of the input.
keyboard_appearance: Option<StylesBrightness>The appearance of the keyboard.
obscuring_character: Option<String>The character used to obscure the text.
scroll_padding: Option<StylesPadding>The padding of the scrollable when the Textfield scrolls into view.
selection_height_style: Option<StylesBoxHeightStyle>The height of the selection highlight boxes.
selection_width_style: Option<StylesBoxWidthStyle>The width of the selection highlight boxes.
strut_style: Option<StylesStrutStyle>§text_align: Option<StylesTextAlign>The alignment of the text.
text_align_vertical: Option<StylesTextAlignVertical>How the text should be aligned vertically.
text_style: Option<StylesTextStyle>The style of the text.
Implementations§
Source§impl StylesTextFieldStyle
impl StylesTextFieldStyle
pub fn builder() -> StylesTextFieldStyle
Trait Implementations§
Source§impl Clone for StylesTextFieldStyle
impl Clone for StylesTextFieldStyle
Source§impl Debug for StylesTextFieldStyle
impl Debug for StylesTextFieldStyle
Source§impl<'de> Deserialize<'de> for StylesTextFieldStyle
impl<'de> Deserialize<'de> for StylesTextFieldStyle
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 From<&StylesTextFieldStyle> for StylesTextFieldStyle
impl From<&StylesTextFieldStyle> for StylesTextFieldStyle
Source§fn from(value: &StylesTextFieldStyle) -> Self
fn from(value: &StylesTextFieldStyle) -> Self
Converts to this type from the input type.
Source§impl From<StylesTextFieldStyle> for StylesTextFieldStyle
impl From<StylesTextFieldStyle> for StylesTextFieldStyle
Source§fn from(value: StylesTextFieldStyle) -> Self
fn from(value: StylesTextFieldStyle) -> Self
Converts to this type from the input type.
Source§impl Serialize for StylesTextFieldStyle
impl Serialize for StylesTextFieldStyle
Auto Trait Implementations§
impl Freeze for StylesTextFieldStyle
impl RefUnwindSafe for StylesTextFieldStyle
impl Send for StylesTextFieldStyle
impl Sync for StylesTextFieldStyle
impl Unpin for StylesTextFieldStyle
impl UnsafeUnpin for StylesTextFieldStyle
impl UnwindSafe for StylesTextFieldStyle
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