pub struct CodeConfig {
pub lang: Option<String>,
}Expand description
A code(...) leaf’s content config — the TS CodeConfig.
Fields§
§lang: Option<String>the required code-fence language
Trait Implementations§
Source§impl Clone for CodeConfig
impl Clone for CodeConfig
Source§impl Debug for CodeConfig
impl Debug for CodeConfig
Auto Trait Implementations§
impl Freeze for CodeConfig
impl RefUnwindSafe for CodeConfig
impl Send for CodeConfig
impl Sync for CodeConfig
impl Unpin for CodeConfig
impl UnsafeUnpin for CodeConfig
impl UnwindSafe for CodeConfig
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