pub struct TemplateColors {
pub primary_color: String,
pub secondary_color: String,
pub background_color: String,
pub text_color: String,
pub code_background: String,
pub border_color: String,
pub primary_color_dark: String,
pub secondary_color_dark: String,
pub background_color_dark: String,
pub text_color_dark: String,
pub code_background_dark: String,
pub border_color_dark: String,
}Expand description
模板颜色配置
Fields§
§primary_color: String亮色模式主色
secondary_color: String亮色模式次要色
background_color: String亮色模式背景色
text_color: String亮色模式文本色
code_background: String亮色模式代码背景色
border_color: String亮色模式边框色
primary_color_dark: String暗色模式主色
secondary_color_dark: String暗色模式次要色
background_color_dark: String暗色模式背景色
text_color_dark: String暗色模式文本色
code_background_dark: String暗色模式代码背景色
border_color_dark: String暗色模式边框色
Trait Implementations§
Source§impl Clone for TemplateColors
impl Clone for TemplateColors
Source§fn clone(&self) -> TemplateColors
fn clone(&self) -> TemplateColors
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 TemplateColors
impl RefUnwindSafe for TemplateColors
impl Send for TemplateColors
impl Sync for TemplateColors
impl Unpin for TemplateColors
impl UnsafeUnpin for TemplateColors
impl UnwindSafe for TemplateColors
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