pub struct TextFieldDefaults;Expand description
Default values for text field colors.
Implementations§
Source§impl TextFieldDefaults
impl TextFieldDefaults
Sourcepub const MIN_HEIGHT: f32 = 56.0
pub const MIN_HEIGHT: f32 = 56.0
Default minimum height for a filled TextField (56dp matches M3 spec).
Sourcepub const MIN_WIDTH: f32 = 280.0
pub const MIN_WIDTH: f32 = 280.0
Default minimum width for a filled TextField (280dp matches M3 spec).
pub fn colors() -> TextFieldColors
Auto Trait Implementations§
impl Freeze for TextFieldDefaults
impl RefUnwindSafe for TextFieldDefaults
impl Send for TextFieldDefaults
impl Sync for TextFieldDefaults
impl Unpin for TextFieldDefaults
impl UnsafeUnpin for TextFieldDefaults
impl UnwindSafe for TextFieldDefaults
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