pub struct LegacyMarkdownConfig {
pub theme: Option<LegacyMarkdownTheme>,
pub shiki_setup: Option<Value>,
}Expand description
兼容旧版 HXO Document 的 MarkdownConfig 结构
Fields§
§theme: Option<LegacyMarkdownTheme>§shiki_setup: Option<Value>Trait Implementations§
Source§impl Clone for LegacyMarkdownConfig
impl Clone for LegacyMarkdownConfig
Source§fn clone(&self) -> LegacyMarkdownConfig
fn clone(&self) -> LegacyMarkdownConfig
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 moreSource§impl Debug for LegacyMarkdownConfig
impl Debug for LegacyMarkdownConfig
Source§impl<'de> Deserialize<'de> for LegacyMarkdownConfig
impl<'de> Deserialize<'de> for LegacyMarkdownConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LegacyMarkdownConfig
impl RefUnwindSafe for LegacyMarkdownConfig
impl Send for LegacyMarkdownConfig
impl Sync for LegacyMarkdownConfig
impl Unpin for LegacyMarkdownConfig
impl UnsafeUnpin for LegacyMarkdownConfig
impl UnwindSafe for LegacyMarkdownConfig
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