pub struct CodeBlock {
pub text: String,
pub language: Option<String>,
}Expand description
No reconstruction pass produces this yet – code listings currently fall
through to Paragraph. Kept in the AST so renderers and future
reconstruction heuristics have a target to produce/consume.
Fields§
§text: String§language: Option<String>Trait Implementations§
impl StructuralPartialEq for CodeBlock
Auto Trait Implementations§
impl Freeze for CodeBlock
impl RefUnwindSafe for CodeBlock
impl Send for CodeBlock
impl Sync for CodeBlock
impl Unpin for CodeBlock
impl UnsafeUnpin for CodeBlock
impl UnwindSafe for CodeBlock
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