pub struct TemplateFeatures {
pub enable_mermaid: bool,
pub enable_highlight: bool,
pub highlight_theme: String,
}Expand description
模板功能开关
Fields§
§enable_mermaid: bool是否启用 Mermaid 图表
enable_highlight: bool是否启用语法高亮
highlight_theme: String语法高亮主题
Trait Implementations§
Source§impl Clone for TemplateFeatures
impl Clone for TemplateFeatures
Source§fn clone(&self) -> TemplateFeatures
fn clone(&self) -> TemplateFeatures
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 TemplateFeatures
impl RefUnwindSafe for TemplateFeatures
impl Send for TemplateFeatures
impl Sync for TemplateFeatures
impl Unpin for TemplateFeatures
impl UnsafeUnpin for TemplateFeatures
impl UnwindSafe for TemplateFeatures
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