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>,
}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>Trait Implementations§
Source§impl Clone for InlineTheme
impl Clone for InlineTheme
Source§fn clone(&self) -> InlineTheme
fn clone(&self) -> InlineTheme
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InlineTheme
impl Debug for InlineTheme
Source§impl Default for InlineTheme
impl Default for InlineTheme
Source§fn default() -> InlineTheme
fn default() -> InlineTheme
Returns the “default value” for a type. Read more
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