pub enum CodeBlockType {
Indented,
Fenced,
}
Expand description
Code block type according to CommonMark specification
Variants§
Indented
Indented code block - composed of one or more indented chunks, each preceded by four or more spaces
Fenced
Fenced code block - surrounded by backtick or tilde fences
Trait Implementations§
Source§impl Clone for CodeBlockType
impl Clone for CodeBlockType
Source§fn clone(&self) -> CodeBlockType
fn clone(&self) -> CodeBlockType
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 CodeBlockType
impl Debug for CodeBlockType
Source§impl Default for CodeBlockType
impl Default for CodeBlockType
Source§fn default() -> CodeBlockType
fn default() -> CodeBlockType
Returns the “default value” for a type. Read more
Source§impl PartialEq for CodeBlockType
impl PartialEq for CodeBlockType
impl Copy for CodeBlockType
impl StructuralPartialEq for CodeBlockType
Auto Trait Implementations§
impl Freeze for CodeBlockType
impl RefUnwindSafe for CodeBlockType
impl Send for CodeBlockType
impl Sync for CodeBlockType
impl Unpin for CodeBlockType
impl UnwindSafe for CodeBlockType
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