pub struct Style {
pub background: Background,
pub border: Border,
pub placeholder: Color,
pub value: Color,
pub selection: Color,
pub shadow: Shadow,
}Expand description
The appearance of a text input.
Fields§
§background: BackgroundThe Background of the text input.
border: BorderThe Border of the text input.
placeholder: ColorThe Color of the placeholder of the text input.
value: ColorThe Color of the value of the text input.
selection: ColorThe Color of the selection of the text input.
shadow: ShadowThe Shadow of the text editor.
Trait Implementations§
impl Copy for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnsafeUnpin for Style
impl UnwindSafe for Style
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