pub struct Styles {
pub focused: StyleState,
pub blurred: StyleState,
pub cursor: CursorStyle,
}Expand description
Styles are the styles for the textarea, separated into focused and blurred states. The appropriate styles will be chosen based on the focus state of the textarea.
Fields§
§focused: StyleStateThe styles used when focused.
blurred: StyleStateThe styles used when blurred.
cursor: CursorStyleThe cursor style.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Styles
impl RefUnwindSafe for Styles
impl Send for Styles
impl Sync for Styles
impl Unpin for Styles
impl UnsafeUnpin for Styles
impl UnwindSafe for Styles
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