pub struct ThemeDefinition {
pub input_text: String,
pub input_bg: String,
pub cursor: String,
pub output_text: String,
pub output_bg: String,
pub input_cursor_prefix: String,
pub input_cursor_color: String,
pub input_cursor: String,
pub output_cursor: String,
pub output_cursor_color: String,
}Fields§
§input_text: String§input_bg: String§cursor: String§output_text: String§output_bg: String§input_cursor_prefix: String§input_cursor_color: String§input_cursor: String§output_cursor: String§output_cursor_color: StringTrait Implementations§
Source§impl Clone for ThemeDefinition
impl Clone for ThemeDefinition
Source§fn clone(&self) -> ThemeDefinition
fn clone(&self) -> ThemeDefinition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ThemeDefinition
impl RefUnwindSafe for ThemeDefinition
impl Send for ThemeDefinition
impl Sync for ThemeDefinition
impl Unpin for ThemeDefinition
impl UnwindSafe for ThemeDefinition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more