pub struct InlineTheme {
pub foreground: Option<Color>,
pub background: Option<Color>,
pub primary: Option<Color>,
pub secondary: Option<Color>,
pub tool_accent: Option<Color>,
pub tool_body: Option<Color>,
pub pty_body: Option<Color>,
pub error: Option<Color>,
pub warning: Option<Color>,
}Expand description
Resolved theme colors for inline rendering.
Fields§
§foreground: Option<Color>§background: Option<Color>§primary: Option<Color>§secondary: Option<Color>§tool_accent: Option<Color>§tool_body: Option<Color>§pty_body: Option<Color>§error: Option<Color>§warning: Option<Color>Trait Implementations§
Source§impl Clone for InlineTheme
impl Clone for InlineTheme
Source§impl Debug for InlineTheme
impl Debug for InlineTheme
Auto Trait Implementations§
impl Freeze for InlineTheme
impl RefUnwindSafe for InlineTheme
impl Send for InlineTheme
impl Sync for InlineTheme
impl Unpin for InlineTheme
impl UnsafeUnpin for InlineTheme
impl UnwindSafe for InlineTheme
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