pub struct Theme {Show 18 fields
pub success: Style,
pub warning: Style,
pub error: Style,
pub info: Style,
pub muted: Style,
pub header: Style,
pub subheader: Style,
pub key: Style,
pub value: Style,
pub diff_add: Style,
pub diff_remove: Style,
pub diff_context: Style,
pub icon_success: String,
pub icon_warning: String,
pub icon_error: String,
pub icon_info: String,
pub icon_pending: String,
pub icon_arrow: String,
}Fields§
§success: Style§warning: Style§error: Style§info: Style§muted: Style§header: Style§subheader: Style§key: Style§value: Style§diff_add: Style§diff_remove: Style§diff_context: Style§icon_success: String§icon_warning: String§icon_error: String§icon_info: String§icon_pending: String§icon_arrow: StringImplementations§
Source§impl Theme
impl Theme
pub fn from_config(config: Option<&ThemeConfig>) -> Self
pub fn from_preset(name: &str) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
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