pub enum CodeBlockKind {
Indented,
Fenced {
info: Option<String>,
},
}
Expand description
The concrete kind of a code block.
Variants§
Indented
Indented block (≥ 4 spaces or 1 tab per line).
Fenced
Fenced block with optional info string (language, etc.).
Trait Implementations§
Source§impl Clone for CodeBlockKind
impl Clone for CodeBlockKind
Source§fn clone(&self) -> CodeBlockKind
fn clone(&self) -> CodeBlockKind
Returns a copy 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 CodeBlockKind
impl Debug for CodeBlockKind
Source§impl PartialEq for CodeBlockKind
impl PartialEq for CodeBlockKind
impl StructuralPartialEq for CodeBlockKind
Auto Trait Implementations§
impl Freeze for CodeBlockKind
impl RefUnwindSafe for CodeBlockKind
impl Send for CodeBlockKind
impl Sync for CodeBlockKind
impl Unpin for CodeBlockKind
impl UnwindSafe for CodeBlockKind
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