pub struct TemplateFonts {
pub font_family: String,
pub code_font_family: String,
}Expand description
模板字体配置
Fields§
§font_family: String字体系列
code_font_family: String代码字体系列
Trait Implementations§
Source§impl Clone for TemplateFonts
impl Clone for TemplateFonts
Source§fn clone(&self) -> TemplateFonts
fn clone(&self) -> TemplateFonts
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 TemplateFonts
impl RefUnwindSafe for TemplateFonts
impl Send for TemplateFonts
impl Sync for TemplateFonts
impl Unpin for TemplateFonts
impl UnsafeUnpin for TemplateFonts
impl UnwindSafe for TemplateFonts
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