pub struct Styles {
pub base: Style,
pub cursor_line: Style,
pub cursor_line_number: Style,
pub end_of_buffer: Style,
pub line_number: Style,
pub placeholder: Style,
pub prompt: Style,
pub text: Style,
}Expand description
Styles for the textarea in different states.
Fields§
§base: StyleBase style.
cursor_line: StyleCursor line style.
cursor_line_number: StyleCursor line number style.
end_of_buffer: StyleEnd of buffer style.
line_number: StyleLine number style.
placeholder: StylePlaceholder style.
prompt: StylePrompt style.
text: StyleText 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 !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